Browse Source

AMBARI-3449. NameNode HA Wizard UI/messaging cleanup. (yusaku)

Yusaku Sako 11 years ago
parent
commit
639b728d4a
2 changed files with 6 additions and 6 deletions
  1. 4 4
      ambari-web/app/messages.js
  2. 2 2
      ambari-web/app/styles/application.less

+ 4 - 4
ambari-web/app/messages.js

@@ -786,12 +786,12 @@ Em.I18n.translations = {
   'admin.highAvailability.wizard.step4.body':
   'admin.highAvailability.wizard.step4.body':
     '<ol>' +
     '<ol>' +
     '<li>Login to the NameNode host <b>{1}</b>.</li>' +
     '<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>' +
     '<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>' +
     '<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>',
     '</ol>',
   'admin.highAvailability.wizard.step3.body':'Confirm your host selections.',
   '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,' +
   'admin.highAvailability.wizard.step2.body':'Select a host that will be running the additional NameNode.<br/> In addition,' +

+ 2 - 2
ambari-web/app/styles/application.less

@@ -505,7 +505,7 @@ h1 {
       margin-left: 0;
       margin-left: 0;
     }
     }
   }
   }
-  #ha-step1 {
+  #ha-step1, #ha-step4 {
     .alert.alert-warn {
     .alert.alert-warn {
       margin-top: 10px;
       margin-top: 10px;
       margin-bottom: 10px;
       margin-bottom: 10px;
@@ -521,7 +521,7 @@ h1 {
 
 
   #ha-step3-review-table {
   #ha-step3-review-table {
     td {
     td {
-      text-align: center;
+      text-align: left;
       vertical-align: top;
       vertical-align: top;
       padding: 5px;
       padding: 5px;
       ul {
       ul {