You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2018/05/07 15:19:51 UTC

[ambari] branch trunk updated: AMBARI-23703. While adding HDFS Namespace from UI, Timeline service fails to start (akovalenko)

This is an automated email from the ASF dual-hosted git repository.

akovalenko pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new e950f08  AMBARI-23703. While adding HDFS Namespace from UI, Timeline service fails to start (akovalenko)
e950f08 is described below

commit e950f088f3d4869d87f538f211a06402895e3fce
Author: Aleksandr Kovalenko <ak...@apache.org>
AuthorDate: Mon May 7 16:37:23 2018 +0300

    AMBARI-23703. While adding HDFS Namespace from UI, Timeline service fails to start (akovalenko)
---
 .../main/admin/federation/step4_controller.js           |  7 ++++++-
 ambari-web/app/messages.js                              | 17 +++++++++--------
 2 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/ambari-web/app/controllers/main/admin/federation/step4_controller.js b/ambari-web/app/controllers/main/admin/federation/step4_controller.js
index 970ecca..2e5e97e 100644
--- a/ambari-web/app/controllers/main/admin/federation/step4_controller.js
+++ b/ambari-web/app/controllers/main/admin/federation/step4_controller.js
@@ -22,7 +22,7 @@ App.NameNodeFederationWizardStep4Controller = App.HighAvailabilityProgressPageCo
 
   name: "nameNodeFederationWizardStep4Controller",
 
-  commands: ['stopRequiredServices', 'reconfigureServices', 'installNameNode', 'installZKFC', 'startJournalNodes', 'startInfraSolr', 'startRanger', 'startNameNodes', 'formatNameNode', 'formatZKFC', 'startZKFC', 'startNameNode', 'bootstrapNameNode', 'startZKFC2', 'startNameNode2', 'restartAllServices'],
+  commands: ['stopRequiredServices', 'reconfigureServices', 'installNameNode', 'installZKFC', 'startJournalNodes', 'startInfraSolr', 'startRanger', 'startNameNodes', 'startZKFCs', 'formatNameNode', 'formatZKFC', 'startZKFC', 'startNameNode', 'bootstrapNameNode', 'startZKFC2', 'startNameNode2', 'restartAllServices'],
 
   tasksMessagesPrefix: 'admin.nameNodeFederation.wizard.step',
 
@@ -101,6 +101,11 @@ App.NameNodeFederationWizardStep4Controller = App.HighAvailabilityProgressPageCo
     this.updateComponent('NAMENODE', hostNames, "HDFS", "Start");
   },
 
+  startZKFCs: function () {
+    var hostNames = this.get('content.masterComponentHosts').filterProperty('component', 'NAMENODE').filterProperty('isInstalled').mapProperty('hostName');
+    this.updateComponent('ZKFC', hostNames, "HDFS", "Start");
+  },
+
   formatNameNode: function () {
     App.ajax.send({
       name: 'nameNode.federation.formatNameNode',
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index 8fab847..497fbe3 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -1695,14 +1695,15 @@ Em.I18n.translations = {
   'admin.nameNodeFederation.wizard.step4.task5.title': 'Start Infra Solr',
   'admin.nameNodeFederation.wizard.step4.task6.title': 'Start Ranger',
   'admin.nameNodeFederation.wizard.step4.task7.title': 'Start NameNodes',
-  'admin.nameNodeFederation.wizard.step4.task8.title': 'Format NameNode',
-  'admin.nameNodeFederation.wizard.step4.task9.title': 'Format ZKFC',
-  'admin.nameNodeFederation.wizard.step4.task10.title': 'Start ZKFC',
-  'admin.nameNodeFederation.wizard.step4.task11.title': 'Start NameNode',
-  'admin.nameNodeFederation.wizard.step4.task12.title': 'Bootstrap NameNode',
-  'admin.nameNodeFederation.wizard.step4.task13.title': 'Start ZKFC',
-  'admin.nameNodeFederation.wizard.step4.task14.title': 'Start NameNode',
-  'admin.nameNodeFederation.wizard.step4.task15.title': 'Restart Required Services',
+  'admin.nameNodeFederation.wizard.step4.task8.title': 'Start ZKFCs',
+  'admin.nameNodeFederation.wizard.step4.task9.title': 'Format NameNode',
+  'admin.nameNodeFederation.wizard.step4.task10.title': 'Format ZKFC',
+  'admin.nameNodeFederation.wizard.step4.task11.title': 'Start ZKFC',
+  'admin.nameNodeFederation.wizard.step4.task12.title': 'Start NameNode',
+  'admin.nameNodeFederation.wizard.step4.task13.title': 'Bootstrap NameNode',
+  'admin.nameNodeFederation.wizard.step4.task14.title': 'Start ZKFC',
+  'admin.nameNodeFederation.wizard.step4.task15.title': 'Start NameNode',
+  'admin.nameNodeFederation.wizard.step4.task16.title': 'Restart Required Services',
 
   'admin.security.title':'Kerberos security has not been enabled',
   'admin.security.enabled': 'Kerberos security is enabled',

-- 
To stop receiving notification emails like this one, please contact
akovalenko@apache.org.