AMBARI-18693. get_sysprep_skip_copy_tarballs_hdfs() always returns False 
(magyari_sandor)


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

Branch: refs/heads/branch-feature-AMBARI-18634
Commit: 637441f4b3437efc9474c221aea946e2ab175a91
Parents: a6ef681
Author: Sandor Magyari <[email protected]>
Authored: Fri Oct 28 17:52:59 2016 +0300
Committer: Sandor Magyari <[email protected]>
Committed: Fri Oct 28 17:56:42 2016 +0300

----------------------------------------------------------------------
 .../python/resource_management/libraries/functions/copy_tarball.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/637441f4/ambari-common/src/main/python/resource_management/libraries/functions/copy_tarball.py
----------------------------------------------------------------------
diff --git 
a/ambari-common/src/main/python/resource_management/libraries/functions/copy_tarball.py
 
b/ambari-common/src/main/python/resource_management/libraries/functions/copy_tarball.py
index 0355685..519c88b 100644
--- 
a/ambari-common/src/main/python/resource_management/libraries/functions/copy_tarball.py
+++ 
b/ambari-common/src/main/python/resource_management/libraries/functions/copy_tarball.py
@@ -72,7 +72,7 @@ def get_sysprep_skip_copy_tarballs_hdfs():
   # By default, copy the tarballs to HDFS. If the cluster is sysprepped, then 
set based on the config.
   sysprep_skip_copy_tarballs_hdfs = False
   if host_sys_prepped:
-    sysprep_skip_copy_tarballs_hdfs = 
default("/cluster-env/sysprep_skip_copy_tarballs_hdfs", False)
+    sysprep_skip_copy_tarballs_hdfs = 
default("/configurations/cluster-env/sysprep_skip_copy_tarballs_hdfs", False)
   return sysprep_skip_copy_tarballs_hdfs
 
 def get_tarball_paths(name, use_upgrading_version_during_upgrade=True, 
custom_source_file=None, custom_dest_file=None):

Reply via email to