You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by mr...@apache.org on 2017/09/11 04:39:25 UTC
[55/94] [abbrv] ambari git commit: AMBARI-21876. Remove
hive.custom-extensions.root from Hive Properties.(vbrodetskyi)
AMBARI-21876. Remove hive.custom-extensions.root from Hive Properties.(vbrodetskyi)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/202eaed6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/202eaed6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/202eaed6
Branch: refs/heads/branch-feature-AMBARI-14714
Commit: 202eaed6fb98da59d17d4f41d35ce8c576baf48a
Parents: e1f4d2e
Author: Vitaly Brodetskyi <vb...@hortonworks.com>
Authored: Wed Sep 6 13:15:05 2017 +0300
Committer: Vitaly Brodetskyi <vb...@hortonworks.com>
Committed: Wed Sep 6 13:15:05 2017 +0300
----------------------------------------------------------------------
.../2.0.6/hooks/before-START/scripts/custom_extensions.py | 3 +--
.../stacks/HDP/2.6/services/HIVE/configuration/hive-site.xml | 8 --------
2 files changed, 1 insertion(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/202eaed6/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/custom_extensions.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/custom_extensions.py b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/custom_extensions.py
index 63f6f70..04299ba 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/custom_extensions.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/custom_extensions.py
@@ -92,8 +92,7 @@ def setup_extensions_hive():
hive_custom_extensions_enabled = default("/configurations/hive-site/hive.custom-extensions.enabled", False)
hive_custom_extensions_owner = default("/configurations/hive-site/hive.custom-extensions.owner", params.hdfs_user)
- hive_custom_extensions_hdfs_dir = get_config_formatted_value(default("/configurations/hive-site/hive.custom-extensions.root",
- DEFAULT_HADOOP_HIVE_EXTENSION_DIR.format(params.major_stack_version)))
+ hive_custom_extensions_hdfs_dir = DEFAULT_HADOOP_HIVE_EXTENSION_DIR.format(params.major_stack_version)
hive_custom_extensions_local_dir = "{0}/current/ext/hive".format(Script.get_stack_root())
http://git-wip-us.apache.org/repos/asf/ambari/blob/202eaed6/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-site.xml
index c0800ed..485f829 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-site.xml
@@ -33,12 +33,4 @@ limitations under the License.
<on-ambari-upgrade add="false"/>
</property>
- <property>
- <name>hive.custom-extensions.root</name>
- <value>/hdp/ext/{{major_stack_version}}/hive</value>
- <description>
- Root directory for hive extensions in HDFS
- </description>
- <on-ambari-upgrade add="false"/>
- </property>
</configuration>