Quantcast
Viewing all articles
Browse latest Browse all 3435

Reply To: HiveServer2 select Permission Error on Write

Do you also have following set ? (either via hive-site.xml or hiveserver2-site.xml )
{code}
<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.StorageBasedAuthorizationProvider</value>
</property>
{code}

Looks like this happens only when StorageBasedAuthorization is enabled at compile time.
The recommended place for enabling StorageBasedAuthorization is in hive metastore. [see SBA metastore instructions|https://cwiki.apache.org/confluence/display/Hive/Storage+Based+Authorization+in+the+Metastore+Server]
Setting this for compile time is redundant and not recommended.
I would recommend compile time authorization being enabled only if you want to use fine grained authorization such as SQL Standards based authorization or Apache Ranger.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



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