AMBARI-21607. HIVE_AUX_JARS_PATH points to wrong location

Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/abed0eda
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/abed0eda
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/abed0eda

Branch: refs/heads/branch-feature-AMBARI-21450
Commit: abed0edadac11f78766304baa9eddba8cdef1f84
Parents: 0aab380
Author: Attila Doroszlai <adorosz...@hortonworks.com>
Authored: Sun Aug 6 13:15:00 2017 +0200
Committer: Attila Doroszlai <adorosz...@hortonworks.com>
Committed: Tue Aug 8 08:27:30 2017 +0200

----------------------------------------------------------------------
 .../resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/abed0eda/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
 
b/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
index 42fdca5..ad20bf9 100644
--- 
a/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
+++ 
b/ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/config-upgrade.xml
@@ -303,6 +303,7 @@
             <type>hive-env</type>
             <replace key="content" find="if [ 
&quot;${HIVE_AUX_JARS_PATH}&quot; != &quot;&quot; ]; then" replace-with="export 
HIVE_AUX_JARS_PATH={{stack_root}}/current/ext/hive&#10;if [ 
&quot;${HIVE_AUX_JARS_PATH}&quot; != &quot;&quot; ]; then"/>
             <replace key="content" find="if [ -f 
&quot;${HIVE_AUX_JARS_PATH}&quot; ]; then" replace-with="if [ -f 
&quot;${HIVE_AUX_JARS_PATH}&quot; ] || [ -d &quot;${HIVE_AUX_JARS_PATH}&quot; ] 
; then"/>
+            <replace key="content" find="# Set HIVE_AUX_JARS_PATH&#10;export 
HIVE_AUX_JARS_PATH={{hbase_lib}}/hbase-client.jar,\&#10;{{hbase_lib}}/hbase-common.jar,\&#10;{{hbase_lib}}/hbase-hadoop2-compat.jar,\&#10;{{hbase_lib}}/hbase-prefix-tree.jar,\&#10;{{hbase_lib}}/hbase-protocol.jar,\&#10;{{hbase_lib}}/hbase-server.jar,\&#10;{{hbase_lib}}/htrace-core-3.1.0-incubating.jar,\&#10;${HIVE_AUX_JARS_PATH}"
 replace-with=""/>
           </definition>
 
           <definition xsi:type="configure" 
id="hdp_2_6_0_0_remove_ranger_hive_audit_db">

Reply via email to