You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2015/12/10 12:07:05 UTC

ambari git commit: AMBARI-14285. Modify Ambaripreupload.py to upload tarballs lib dirs etc. during upgrade (aonishuk)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 9a0013575 -> 959ff5725


AMBARI-14285. Modify Ambaripreupload.py to upload tarballs lib dirs etc. during upgrade (aonishuk)


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

Branch: refs/heads/branch-2.2
Commit: 959ff5725165af31901858ad316530fa268b8725
Parents: 9a00135
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Thu Dec 10 13:06:50 2015 +0200
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Thu Dec 10 13:06:50 2015 +0200

----------------------------------------------------------------------
 ambari-server/src/main/resources/scripts/Ambaripreupload.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/959ff572/ambari-server/src/main/resources/scripts/Ambaripreupload.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/scripts/Ambaripreupload.py b/ambari-server/src/main/resources/scripts/Ambaripreupload.py
index 021102e..591b7d2 100644
--- a/ambari-server/src/main/resources/scripts/Ambaripreupload.py
+++ b/ambari-server/src/main/resources/scripts/Ambaripreupload.py
@@ -131,12 +131,12 @@ with Environment() as env:
   class params:
     hdfs_user = "hdfs"
     mapred_user ="mapred"
-    hadoop_bin_dir="/usr/hdp/" + hdp_version + "/hadoop-client/bin"
+    hadoop_bin_dir="/usr/hdp/" + hdp_version + "/hadoop/bin"
     hadoop_conf_dir = "/etc/hadoop/conf"
     user_group = "hadoop"
     security_enabled = False
     oozie_user = "oozie"
-    execute_path = "/usr/hdp/" + hdp_version + "/hadoop-client/bin"
+    execute_path = "/usr/hdp/" + hdp_version + "/hadoop/bin"
     ambari_libs_dir = "/var/lib/ambari-agent/lib"
     hdfs_site = ConfigDictionary({'dfs.webhdfs.enabled':False, 
     })