| <?xml version="1.0"?> |
| <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <configuration supports_final="true"> |
| <property> |
| <name>hive.security.authenticator.manager</name> |
| <value>org.apache.hadoop.hive.ql.security.SessionStateUserAuthenticator</value> |
| <description>Hive client authenticator manager class name. The user-defined authenticator class should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider.</description> |
| <depends-on> |
| <property> |
| <type>hive-env</type> |
| <name>hive_security_authorization</name> |
| </property> |
| </depends-on> |
| <on-ambari-upgrade add="false"/> |
| </property> |
| <property> |
| <name>hive.security.authorization.manager</name> |
| <value>org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory</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> |
| <depends-on> |
| <property> |
| <type>hive-env</type> |
| <name>hive_security_authorization</name> |
| </property> |
| </depends-on> |
| <on-ambari-upgrade add="false"/> |
| </property> |
| <property> |
| <name>hive.security.authorization.enabled</name> |
| <value>false</value> |
| <description>enable or disable the Hive client authorization</description> |
| <display-name>Enable Authorization</display-name> |
| <value-attributes> |
| <type>boolean</type> |
| </value-attributes> |
| <depends-on> |
| <property> |
| <type>hive-env</type> |
| <name>hive_security_authorization</name> |
| </property> |
| </depends-on> |
| <on-ambari-upgrade add="false"/> |
| </property> |
| <property> |
| <name>hive.conf.restricted.list</name> |
| <value>hive.security.authenticator.manager,hive.security.authorization.manager,hive.users.in.admin.role</value> |
| <description>Comma separated list of configuration options which are immutable at runtime</description> |
| <depends-on> |
| <property> |
| <type>hive-env</type> |
| <name>hive_security_authorization</name> |
| </property> |
| </depends-on> |
| <on-ambari-upgrade add="false"/> |
| </property> |
| <property> |
| <name>hive.metastore.metrics.enabled</name> |
| <value>true</value> |
| <value-attributes> |
| <type>boolean</type> |
| </value-attributes> |
| <on-ambari-upgrade add="false"/> |
| </property> |
| <property> |
| <name>hive.server2.metrics.enabled</name> |
| <value>true</value> |
| <value-attributes> |
| <type>boolean</type> |
| </value-attributes> |
| <on-ambari-upgrade add="false"/> |
| </property> |
| <property> |
| <name>hive.service.metrics.reporter</name> |
| <value>HADOOP2</value> |
| <on-ambari-upgrade add="false"/> |
| </property> |
| <property> |
| <name>hive.service.metrics.hadoop2.component</name> |
| <value>hiveserver2</value> |
| <on-ambari-upgrade add="false"/> |
| </property> |
| </configuration> |