Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 894
IT-DONG Avatar asked Jun 28 '26 03:06

IT-DONG


1 Answers

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

It works for me.

like image 143
kiwi Avatar answered Jun 30 '26 23:06

kiwi