Member since
11-27-2016
7
Posts
0
Kudos Received
0
Solutions
01-19-2017
02:30 PM
This is a great article..I have a question around the ThriftServer. The article description says "SparkSQL, Ranger, and LLAP via Spark Thrift Server.." but the implementation uses HiveServer2? so can ranger work with Spark Thrift server? Is there a ranger plugin for Spark ThriftServer?
... View more
11-29-2016
07:15 AM
Thanks for the reply Ramesh. One more question is the hive plugin compatible with Spark thrift server (i.e) Can it be used with spark thrift server?
... View more
11-28-2016
05:31 AM
I am trying to implement the following : 1) Ranger Hive plugin 2) Set up ranger plugin for metastore using HDP 2.5, ranger 0.6.0 Below are some of the settings in hive-site.xml : hive.metastore.pre.event.listeners=org.apache.hadoop.hive.ql.security.authorization.AuthorizationPreEventListener
hive.security.metastore.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetastoreAuthorizationProvider hive.users.in.admin.role=admin,root hive.server2.enable.doAs=true
hive.security.authorization.enabled=true
hive.security.authorization.manager=org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizerFactory
hive.security.authenticator.manager=org.apache.hadoop.hive.ql.security.SessionStateUserAuthenticator
hive.conf.restricted.list=hive.security.authorization.enabled,hive.security.authorization.manager,hive.security.authenticator.manager Following are the questions that I have for the above implementation : 1) When I create a policy in the Ranger Policy Manger UI and try to test it out from beeline, it is not working. Are the above settings in the hive-site.xml correct? 2) If I create a new role and set it to user from hive CLI, will i be able to see that in the Ranger Policy Manager UI ->HiveService->SERVICE_NAME 3) Is HDFS plugin mandatory for the above set-up? i.e can I set policies from UI and hive CLI without using HDFS policy and HDFS plugin setup? 4) is Solr installation mandatory for setting up the ranger-hive-plugin?(in my current set-up, i dont have the solr setup)
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Ranger