IT-DONG
IT-DONG

Reputation: 41

Privileges for spark sql with sentry

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?

Upvotes: 3

Views: 1846

Answers (1)

kiwi
kiwi

Reputation: 487

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

It works for me.

Upvotes: 2

Related Questions