Updated Branches: refs/heads/branch-1.4.1 c208126d9 -> df31a72cb
AMBARI-3449. NameNode HA Wizard UI/messaging cleanup. (yusaku) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/df31a72c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/df31a72c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/df31a72c Branch: refs/heads/branch-1.4.1 Commit: df31a72cbbaddbd4b17fff1bd44c1079a4b7d5ff Parents: c208126 Author: Yusaku Sako <[email protected]> Authored: Thu Oct 3 13:14:53 2013 -0700 Committer: Yusaku Sako <[email protected]> Committed: Thu Oct 3 13:14:53 2013 -0700 ---------------------------------------------------------------------- ambari-web/app/messages.js | 8 ++++---- ambari-web/app/styles/application.less | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/df31a72c/ambari-web/app/messages.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js index a1d5eb7..828ed2b 100644 --- a/ambari-web/app/messages.js +++ b/ambari-web/app/messages.js @@ -760,12 +760,12 @@ Em.I18n.translations = { 'admin.highAvailability.wizard.step4.body': '<ol>' + '<li>Login to the NameNode host <b>{1}</b>.</li>' + - '<li>Put the NameNode in safe mode (read-only-mode):' + + '<li>Put the NameNode in Safe Mode (read-only mode):' + '<div class="code-snippet">sudo su -l {0} -c \'hdfs dfsadmin -safemode enter\'</div></li>' + - '<li>Once in Safe Mode, create a checkpoint:' + + '<li>Once in Safe Mode, create a Checkpoint:' + '<div class="code-snippet">sudo su -l {0} -c \'hdfs dfsadmin -saveNamespace\'</div></li>' + - '<li>You will be able to proceed once Ambari detects that the NameNode is in Safe Mode and the checkpoint has been created successfully.<br>'+ - 'If the Next button is enabled before you run the command to create a checkpoint, it means that there is a recent checkpoint already and you may proceed without running the checkpoint command.</li>' + + '<li>You will be able to proceed once Ambari detects that the NameNode is in Safe Mode and the Checkpoint has been created successfully.</li>'+ + '<div class="alert alert-warn">If the <b>Next</b> button is enabled before you run the <b>"Step 3: Create a Checkpoint"</b> command, it means there is a recent Checkpoint already and you may proceed without running the <b>"Step 3: Create a Checkpoint"</b> command.</div>' + '</ol>', 'admin.highAvailability.wizard.step3.body':'Confirm your host selections.', 'admin.highAvailability.wizard.step2.body':'Select a host that will be running the additional NameNode.<br/> In addition,' + http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/df31a72c/ambari-web/app/styles/application.less ---------------------------------------------------------------------- diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index d2d66a2..8f01780 100644 --- a/ambari-web/app/styles/application.less +++ b/ambari-web/app/styles/application.less @@ -505,7 +505,7 @@ h1 { margin-left: 0; } } - #ha-step1 { + #ha-step1, #ha-step4 { .alert.alert-warn { margin-top: 10px; margin-bottom: 10px; @@ -521,7 +521,7 @@ h1 { #ha-step3-review-table { td { - text-align: center; + text-align: left; vertical-align: top; padding: 5px; ul {
