ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mradhakrish...@apache.org
Subject [55/94] [abbrv] ambari git commit: AMBARI-21876. Remove hive.custom-extensions.root from Hive Properties.(vbrodetskyi)
Date Mon, 11 Sep 2017 04:39:25 GMT
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 <vbrodetskyi@hortonworks.com>
Authored: Wed Sep 6 13:15:05 2017 +0300
Committer: Vitaly Brodetskyi <vbrodetskyi@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>


Mime
View raw message