You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ds...@apache.org on 2014/10/30 17:45:33 UTC
git commit: AMBARI-8046 Incorrect commands for creating checkpoint
when enabling NameNode HA (dsen)
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 <ds...@apache.org>
Authored: Thu Oct 30 18:41:01 2014 +0200
Committer: Dmytro Sen <ds...@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}*')
)