You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by av...@apache.org on 2018/08/20 19:17:44 UTC

[ambari] branch trunk updated: [AMBARI-24503] LLAP application on Yarn fails with CNF exception on sysprepped cluster. (#2118)

This is an automated email from the ASF dual-hosted git repository.

avijayan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 005e50f  [AMBARI-24503] LLAP application on Yarn fails with CNF exception on sysprepped cluster. (#2118)
005e50f is described below

commit 005e50f97550264cafd4087166e696ce72196266
Author: avijayanhwx <av...@hortonworks.com>
AuthorDate: Mon Aug 20 12:17:41 2018 -0700

    [AMBARI-24503] LLAP application on Yarn fails with CNF exception on sysprepped cluster. (#2118)
---
 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")):