Privileges for spark sql with sentry

1.8k views Asked by At

I'm trying to make the privileges to access Spark-SQL with sentry, and spark sql connects with thrift port withe hiveserver2( --hiveconf hive.server2.thrift.port). However, while I can limit users' privileges on hive successfully, I cannot limit the access with spark SQL through sentry.

Anyone who met with the same problem?

1

There are 1 answers

0
kiwi On
  1. Follow the doc,config hive in Spark.
  2. Add Sentry jars to the classpath, Spark will load them automatically.

It works for me.