Updated Branches:
  refs/heads/trunk c8bfc4288 -> 028d36126

AMBARI-3278. NameNode HA Wizard: update manual instructions to make sure that 
the user runs the commands as the hdfs user. (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/028d3612
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/028d3612
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/028d3612

Branch: refs/heads/trunk
Commit: 028d36126969e3387d62caffb29ec492b7c1bc0b
Parents: c8bfc42
Author: Yusaku Sako <[email protected]>
Authored: Wed Sep 18 15:55:06 2013 -0700
Committer: Yusaku Sako <[email protected]>
Committed: Wed Sep 18 16:08:55 2013 -0700

----------------------------------------------------------------------
 .../admin/highAvailability/step2_controller.js  |  2 +-
 ambari-web/app/messages.js                      | 38 ++++++++++----------
 .../main/admin/highAvailability/step3.hbs       |  2 +-
 .../templates/main/dashboard/service/hdfs.hbs   |  2 +-
 4 files changed, 22 insertions(+), 22 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/028d3612/ambari-web/app/controllers/main/admin/highAvailability/step2_controller.js
----------------------------------------------------------------------
diff --git 
a/ambari-web/app/controllers/main/admin/highAvailability/step2_controller.js 
b/ambari-web/app/controllers/main/admin/highAvailability/step2_controller.js
index 16fe06e..6cf95b7 100644
--- a/ambari-web/app/controllers/main/admin/highAvailability/step2_controller.js
+++ b/ambari-web/app/controllers/main/admin/highAvailability/step2_controller.js
@@ -84,7 +84,7 @@ App.HighAvailabilityWizardStep2Controller = 
App.WizardStep5Controller.extend({
         {
           availableHosts: [],
           component_name: "JOURNALNODE",
-          display_name: "Journal Node",
+          display_name: "JournalNode",
           isHiveCoHost: false,
           isInstalled: false,
           selectedHost: this.get("hosts")[index].get("host_name"),

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/028d3612/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index 5a7015a..5a91a4f 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -716,7 +716,7 @@ Em.I18n.translations = {
   'admin.highAvailability.wizard.step3.secNameNode': '<b>Secondary 
NameNode:</b> ',
   'admin.highAvailability.wizard.step3.journalNode': '<b>JournalNode:</b> ',
   'admin.highAvailability.wizard.step3.toBeInstalled': 'TO BE INSTALLED',
-  'admin.highAvailability.wizard.step3.toBeDisabled': 'TO BE DISABLED',
+  'admin.highAvailability.wizard.step3.toBeDeleted': 'TO BE DELETED',
   'admin.highAvailability.wizard.step4.ckNotCreated':'Checkpoint not created 
yet',
   'admin.highAvailability.wizard.step4.ckCreated':'Checkpoint created',
   'admin.highAvailability.wizard.step6.jsNoInit':'JournalNodes not initialized 
yet',
@@ -725,44 +725,44 @@ Em.I18n.translations = {
   'admin.highAvailability.wizard.step8.confirmPopup.body':'Please confirm that 
you have run the manual steps before continuing.',
 
   'admin.highAvailability.rollback.header':'Disable NameNode HA Wizard',
-  'admin.highAvailability.rollback.task0.title':'Stop all services',
-  'admin.highAvailability.rollback.task1.title':'Restore HBASE configurations',
-  'admin.highAvailability.rollback.task2.title':'Stop Failover controllers',
-  'admin.highAvailability.rollback.task3.title':'Delete Failover controllers',
-  'admin.highAvailability.rollback.task4.title':'Stop stand by NameNode',
+  'admin.highAvailability.rollback.task0.title':'Stop All Services',
+  'admin.highAvailability.rollback.task1.title':'Restore HBase Configurations',
+  'admin.highAvailability.rollback.task2.title':'Stop Failover Controllers',
+  'admin.highAvailability.rollback.task3.title':'Delete Failover Controllers',
+  'admin.highAvailability.rollback.task4.title':'Stop Additional NameNode',
   'admin.highAvailability.rollback.task5.title':'Stop NameNode',
-  'admin.highAvailability.rollback.task6.title':'Restore HDFS configurations',
+  'admin.highAvailability.rollback.task6.title':'Restore HDFS Configurations',
   'admin.highAvailability.rollback.task7.title':'Enable Secondary NameNode',
   'admin.highAvailability.rollback.task8.title':'Stop JournalNodes',
   'admin.highAvailability.rollback.task9.title':'Delete JournalNodes',
-  'admin.highAvailability.rollback.task10.title':'Delete additional NameNode',
-  'admin.highAvailability.rollback.task11.title':'Start all services',
+  'admin.highAvailability.rollback.task10.title':'Delete Additional NameNode',
+  'admin.highAvailability.rollback.task11.title':'Start All Services',
   'admin.highAvailability.rollback.notice.inProgress':'Please wait while the 
wizard reverts back to the non-HA setup.',
 
   'admin.highAvailability.wizard.step8.body':
     '<ol>' +
-    '<li>Login to the additional NameNode host <b>{2}</b> as user 
<b>{0}</b>.</li>' +
+    '<li>Login to the additional NameNode host <b>{2}</b>.</li>' +
     '<li>Initialize the metadata for the additional NameNode by running:' +
-    '<div class="code-snippet">hdfs namenode -bootstrapStandby</div></li>' +
-    '<li>Login to the NameNode host <b>{1}</b> as user <b>{0}</b>.</li>' +
+    '<div class="code-snippet">sudo su -l {0} -c \'hdfs namenode 
-bootstrapStandby\'</div></li>' +
+    '<li>Login to the NameNode host <b>{1}</b>.</li>' +
     '<li>Initialize the metadata for NameNode automatic failover by running:' +
-    '<div class="code-snippet">hdfs zkfc -formatZK</div></li>' +
+    '<div class="code-snippet">sudo su -l {0} -c \'hdfs zkfc 
-formatZK\'</div></li>' +
     '<li>Please proceed once you have completed the steps above.</li>' +
     '</ol>',
   'admin.highAvailability.wizard.step6.body':
     '<ol>' +
-    '<li>Login to the NameNode host <b>{1}</b> as user <b>{0}</b>.</li>' +
+    '<li>Login to the NameNode host <b>{1}</b>.</li>' +
     '<li>Initialize the JournalNodes by running:' +
-    '<div class="code-snippet">hdfs namenode 
-initializeSharedEdits</div></li>' +
+    '<div class="code-snippet">sudo su -l {0} -c \'hdfs namenode 
-initializeSharedEdits\'</div></li>' +
     '<li>You will be able to proceed once Ambari detects that the JournalNodes 
have been initialized successfully.</li>' +
     '</ol>',
   'admin.highAvailability.wizard.step4.body':
     '<ol>' +
-    '<li>Login to the NameNode host <b>{1}</b> as user <b>{0}</b>.</li>' +
+    '<li>Login to the NameNode host <b>{1}</b>.</li>' +
     '<li>Put the NameNode in safe mode (read-only-mode):' +
-    '<div class="code-snippet">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:' +
-    '<div class="code-snippet">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.</li>' +
     '</ol>',
   'admin.highAvailability.wizard.step3.body':'Confirm your host selections.',
@@ -774,7 +774,7 @@ Em.I18n.translations = {
     'The process to enable HA involves a combination of <b>automated steps</b> 
(that will be handled by the wizard) and ' +
     '<b>manual steps</b> (that you must perform in sequence as instructed by 
the wizard).<br/><br/>' +
     '<b>You should plan a cluster maintanance window and prepare for cluster 
downtime when enabling NameNode HA.</b>',
-  'admin.highAvailability.wizard.step1.alert':'As part of this process, your 
current Secondary NameNode will be disabled and new JournalNodes will be 
introduced into the cluster.',
+  'admin.highAvailability.wizard.step1.alert':'As part of this process, your 
current Secondary NameNode will be removed and new JournalNodes will be 
introduced into the cluster.',
   'admin.security.title':'Kerberos Security has not been enabled',
   'admin.security.enabled': 'Kerberos security is enabled',
   'admin.security.disabled': 'Kerberos security is disabled',

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/028d3612/ambari-web/app/templates/main/admin/highAvailability/step3.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/admin/highAvailability/step3.hbs 
b/ambari-web/app/templates/main/admin/highAvailability/step3.hbs
index f6acca6..da16c02 100644
--- a/ambari-web/app/templates/main/admin/highAvailability/step3.hbs
+++ b/ambari-web/app/templates/main/admin/highAvailability/step3.hbs
@@ -33,7 +33,7 @@
       <tr>
         <td>{{t admin.highAvailability.wizard.step3.secNameNode}}</td>
         <td>{{view.secondaryNameNode}}</td>
-        <td class="to-be-disabled-red"><i class="icon-minus"></i>&nbsp;{{t 
admin.highAvailability.wizard.step3.toBeDisabled}}</td>
+        <td class="to-be-disabled-red"><i class="icon-minus"></i>&nbsp;{{t 
admin.highAvailability.wizard.step3.toBeDeleted}}</td>
       </tr>
       <tr>
         <td>{{t admin.highAvailability.wizard.step3.addNameNode}}</td>

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/028d3612/ambari-web/app/templates/main/dashboard/service/hdfs.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/dashboard/service/hdfs.hbs 
b/ambari-web/app/templates/main/dashboard/service/hdfs.hbs
index 7794ffd..0a52cf5 100644
--- a/ambari-web/app/templates/main/dashboard/service/hdfs.hbs
+++ b/ambari-web/app/templates/main/dashboard/service/hdfs.hbs
@@ -57,7 +57,7 @@
           </div>
         </td>
       </tr>
-      <!-- Journal Nodes -->
+      <!-- JournalNodes -->
       {{#if view.showJournalNodes}}
         <tr>
           <td>{{t dashboard.services.hdfs.journalnodes}}</td>

Reply via email to