|
@@ -107,11 +107,23 @@ limitations under the License.
|
|
|
|
|
|
<property>
|
|
|
<name>hive.security.authorization.manager</name>
|
|
|
- <value>org.apache.hadoop.hive.ql.security.authorization.DefaultHiveAuthorizationProvider</value>
|
|
|
+ <value>org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider</value>
|
|
|
<description>the hive client authorization manager class name.
|
|
|
The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider. </description>
|
|
|
</property>
|
|
|
|
|
|
+ <property>
|
|
|
+ <name>hive.security.metastore.authorization.manager</name>
|
|
|
+ <value>org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider</value>
|
|
|
+ <description>The authorization manager class name to be used in the metastore for authorization. The user-defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveMetastoreAuthorizationProvider. </description>
|
|
|
+ </property>
|
|
|
+
|
|
|
+ <property>
|
|
|
+ <name>hive.security.authenticator.manager</name>
|
|
|
+ <value>org.apache.hadoop.hive.ql.security.ProxyUserAuthenticator</value>
|
|
|
+ <description>Hive client authenticator manager class name. The user-defined authenticator class should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider. </description>
|
|
|
+ </property>
|
|
|
+
|
|
|
<property>
|
|
|
<name>hive.server2.enable.doAs</name>
|
|
|
<value>true</value>
|