ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: AMBARI-8046 Incorrect commands for creating checkpoint when enabling NameNode HA (dsen)
Date Thu, 30 Oct 2014 16:45:33 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 8fa3ea45a -> c8961e6e6


AMBARI-8046 Incorrect commands for creating checkpoint when enabling NameNode HA (dsen)


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

Branch: refs/heads/branch-1.7.0
Commit: c8961e6e6d1243b5508f960c7b9ac82507fd7125
Parents: 8fa3ea4
Author: Dmytro Sen <dsen@apache.org>
Authored: Thu Oct 30 18:41:01 2014 +0200
Committer: Dmytro Sen <dsen@apache.org>
Committed: Thu Oct 30 18:45:03 2014 +0200

----------------------------------------------------------------------
 .../HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c8961e6e/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py
index 7eab8a6..4bf9809 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py
@@ -22,7 +22,7 @@ from resource_management import *
 def setup_hdp_install_directory():
   import params
   if params.stack_is_hdp22_or_further:
-    Execute(format('ambari-python-wrap /usr/bin/hdp-select -r set all `ambari-python-wrap
/usr/bin/hdp-select versions | grep ^{hdp_stack_version} | tail -1`'),
+    Execute(format('ambari-python-wrap /usr/bin/hdp-select set all `ambari-python-wrap /usr/bin/hdp-select
versions | grep ^{hdp_stack_version} | tail -1`'),
             only_if=format('ls -d /usr/hdp/{hdp_stack_version}*')
     )
 


Mime
View raw message