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-2.6 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 [ "${HIVE_AUX_JARS_PATH}" != "" ]; then" replace-with="export HIVE_AUX_JARS_PATH={{stack_root}}/current/ext/hive if [ "${HIVE_AUX_JARS_PATH}" != "" ]; then"/> <replace key="content" find="if [ -f "${HIVE_AUX_JARS_PATH}" ]; then" replace-with="if [ -f "${HIVE_AUX_JARS_PATH}" ] || [ -d "${HIVE_AUX_JARS_PATH}" ] ; then"/> + <replace key="content" find="# Set HIVE_AUX_JARS_PATH export HIVE_AUX_JARS_PATH={{hbase_lib}}/hbase-client.jar,\ {{hbase_lib}}/hbase-common.jar,\ {{hbase_lib}}/hbase-hadoop2-compat.jar,\ {{hbase_lib}}/hbase-prefix-tree.jar,\ {{hbase_lib}}/hbase-protocol.jar,\ {{hbase_lib}}/hbase-server.jar,\ {{hbase_lib}}/htrace-core-3.1.0-incubating.jar,\ ${HIVE_AUX_JARS_PATH}" replace-with=""/> </definition> <definition xsi:type="configure" id="hdp_2_6_0_0_remove_ranger_hive_audit_db">