You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2018/08/20 02:42:10 UTC
[ambari] branch branch-2.7 updated: [AMBARI-24503] LLAP application
on Yarn fails with CNF exception on sysprepped cluster. (#2114)
This is an automated email from the ASF dual-hosted git repository.
swagle pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new 06a061a [AMBARI-24503] LLAP application on Yarn fails with CNF exception on sysprepped cluster. (#2114)
06a061a is described below
commit 06a061a82bd6d0d6518b5514665acdfe6d29d773
Author: avijayanhwx <av...@hortonworks.com>
AuthorDate: Sun Aug 19 19:42:06 2018 -0700
[AMBARI-24503] LLAP application on Yarn fails with CNF exception on sysprepped cluster. (#2114)
---
ambari-server/src/main/resources/scripts/Ambaripreupload.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ambari-server/src/main/resources/scripts/Ambaripreupload.py b/ambari-server/src/main/resources/scripts/Ambaripreupload.py
index 5e9688c..dca9bb5 100644
--- a/ambari-server/src/main/resources/scripts/Ambaripreupload.py
+++ b/ambari-server/src/main/resources/scripts/Ambaripreupload.py
@@ -152,7 +152,8 @@ with Environment() as env:
hdfs_lib_dir = hdfs_home_dir + '/lib'
hadoop_home_dir = '/usr/hdp/' + stack_version + '/hadoop'
hadoop_lib_dir = hadoop_home_dir + '/lib'
-
+ hadoop_mapreduce_dir = '/usr/hdp/' + stack_version + '/hadoop-mapreduce'
+
oozie_secure = ''
oozie_home="/usr/hdp/" + stack_version + "/oozie"
oozie_setup_sh=format("/usr/hdp/" + stack_version + "/oozie/bin/oozie-setup.sh")
@@ -313,7 +314,8 @@ with Environment() as env:
Logger.info(format("Creating {yarn_service_tarball}"))
folders = [params.yarn_home_dir, params.yarn_lib_dir, params.hdfs_home_dir, params.hdfs_lib_dir,
params.hadoop_home_dir,
- params.hadoop_lib_dir]
+ params.hadoop_lib_dir,
+ params.hadoop_mapreduce_dir]
with closing(tarfile.open(params.yarn_service_tarball, "w:gz")) as tar:
for folder in folders:
for filepath in glob.glob(format("{folder}/*.jar")):