Hello,

We are trying to configure Spark SQL + Ranger for hive authorization with no
progress. 

Spark SQL is communicating with hive metastore with no authorization without
any issues. However, all authorization setup is being ignored.

We have currently tried by setting configuring following properties:
hive.security.authorization.manager=org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizerFactory
hive.security.authorization.enabled=true
hive.security.authenticator.manager=org.apache.hadoop.hive.ql.security.SessionStateUserAuthenticator

The following ranger specific jars have been placed in spark classpath :
ranger-hive-plugin, ranger-plugins-common, ranger-plugins-audit, guava

Additionally, we have placed the ranger configurations
ranger-hive-security.xml and ranger-hive-audit.xml files in spark conf.

Versions used:
Spark - 1.6.1
Hive -1.2.1
Ranger - 0.5.3

We do not see Spark SQL honoring the hive.security.authorization.manager.
Are there any suggestions of how we could configure this setup to work? 

Regards,
Rohit




--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-Hive-Authorization-tp27221.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to