Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: Grant permissions not working

$
0
0

Let me give the quickest way for to solve the problem: I am on HDP 2.2.4 on Linux/CentOS
Step1:
Using Ambari just stop HiveServer2
Step2:
In the sandbox:
Replace with the following configuration in /etc/hive/conf/hiveserver2-site.xml and /etc/hive/conf.server/hiveserver2-site.xml

–><configuration>
<property>
<name>hive.security.authorization.enabled</name>
<value>false</value>
</property>
<property>
<name>hive.security.authorization.manager</name>
<value>org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory</value>
</property>
<property>
<name>hive.security.authenticator.manager</name>
<value>org.apache.hadoop.hive.ql.security.SessionStateUserAuthenticator</value>
</property>
<property>
<name>hive.conf.restricted.list</name>
<value>hive.security.authorization.enabled,hive.security.authorization.manager,hive.security.authenticator.manager,hive.users.in.admin.role</value>
</property>
</configuration>

Step3:
Restart HiveServer2 using Ambari

And that’s it you are good. Nothing else is needed from a logical or practical point of view. Oh yes this is a tested solution.

Lemme know if it doesnt work.

Thanks,
Rajdeep


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>