blob: 5f719e9d97f2fe2ac0be38629eada0de0e78de6b [file] [log] [blame]
<?xml version="1.0"?>
<!--
/**
* 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>
<property>
<name>ranger.plugin.hive.service.name</name>
<value>{{repo_name}}</value>
<description>Name of the Ranger service containing policies for this HIVE instance</description>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>ranger.plugin.hive.policy.source.impl</name>
<value>org.apache.ranger.admin.client.RangerAdminRESTClient</value>
<description>Class to retrieve policies from the source</description>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>ranger.plugin.hive.policy.rest.url</name>
<value>{{policymgr_mgr_url}}</value>
<description>URL to Ranger Admin</description>
<on-ambari-upgrade add="false"/>
<depends-on>
<property>
<type>admin-properties</type>
<name>policymgr_external_url</name>
</property>
</depends-on>
</property>
<property>
<name>ranger.plugin.hive.policy.rest.ssl.config.file</name>
<value>{{ranger_hive_ssl_config_file}}</value>
<description>Path to the file containing SSL details to contact Ranger Admin</description>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>ranger.plugin.hive.policy.pollIntervalMs</name>
<value>30000</value>
<description>How often to poll for changes in policies?</description>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>ranger.plugin.hive.policy.cache.dir</name>
<value>/etc/ranger/{{repo_name}}/policycache</value>
<description>Directory where Ranger policies are cached after successful retrieval from the source</description>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>xasecure.hive.update.xapolicies.on.grant.revoke</name>
<value>true</value>
<display-name>Should Hive GRANT/REVOKE update XA policies</display-name>
<description>Should Hive plugin update Ranger policies for updates to permissions done using GRANT/REVOKE?</description>
<value-attributes>
<type>boolean</type>
</value-attributes>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>ranger.plugin.hive.urlauth.filesystem.schemes</name>
<value>hdfs:,file:,wasb:,adl:</value>
<description>Add urlauth filesystem schemes</description>
<value-attributes>
<empty-value-valid>true</empty-value-valid>
</value-attributes>
<on-ambari-upgrade add="false"/>
</property>
</configuration>