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/08 18:08:16 UTC
[ambari] branch trunk updated: AMBARI-23792. Need Ranger Tagsync
component to be started at end during restart all services task for
Federation wizard (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 653f32a AMBARI-23792. Need Ranger Tagsync component to be started at end during restart all services task for Federation wizard (akovalenko)
653f32a is described below
commit 653f32a7f0d44f34ffc250db90de4702ac81d60a
Author: Aleksandr Kovalenko <ak...@apache.org>
AuthorDate: Tue May 8 16:55:44 2018 +0300
AMBARI-23792. Need Ranger Tagsync component to be started at end during restart all services task for Federation wizard (akovalenko)
---
.../main/admin/federation/step4_controller.js | 16 ++++++++++-----
ambari-web/app/messages.js | 23 +++++++++++-----------
2 files changed, 23 insertions(+), 16 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 2e5e97e..1859e62 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', 'startZKFCs', 'formatNameNode', 'formatZKFC', 'startZKFC', 'startNameNode', 'bootstrapNameNode', 'startZKFC2', 'startNameNode2', 'restartAllServices'],
+ commands: ['stopRequiredServices', 'reconfigureServices', 'installNameNode', 'installZKFC', 'startJournalNodes', 'startInfraSolr', 'startRangerAdmin', 'startRangerUsersync', 'startNameNodes', 'startZKFCs', 'formatNameNode', 'formatZKFC', 'startZKFC', 'startNameNode', 'bootstrapNameNode', 'startZKFC2', 'startNameNode2', 'restartAllServices'],
tasksMessagesPrefix: 'admin.nameNodeFederation.wizard.step',
@@ -34,7 +34,7 @@ App.NameNodeFederationWizardStep4Controller = App.HighAvailabilityProgressPageCo
removeUnneededTasks: function () {
var installedServices = App.Service.find().mapProperty('serviceName');
if (!installedServices.contains('RANGER')) {
- this.removeTasks(['startInfraSolr', 'startRanger']);
+ this.removeTasks(['startInfraSolr', 'startRangerAdmin', 'startRangerUsersync']);
}
if (!installedServices.contains('AMBARI_INFRA_SOLR')) {
this.removeTasks(['startInfraSolr']);
@@ -138,8 +138,14 @@ App.NameNodeFederationWizardStep4Controller = App.HighAvailabilityProgressPageCo
this.startServices(false, ['AMBARI_INFRA_SOLR'], true);
},
- startRanger: function () {
- this.startServices(false, ['RANGER'], true);
+ startRangerAdmin: function () {
+ var hostNames = App.HostComponent.find().filterProperty('componentName', 'RANGER_ADMIN').mapProperty('hostName');
+ this.updateComponent('RANGER_ADMIN', hostNames, "RANGER", "Start");
+ },
+
+ startRangerUsersync: function () {
+ var hostNames = App.HostComponent.find().filterProperty('componentName', 'RANGER_USERSYNC').mapProperty('hostName');
+ this.updateComponent('RANGER_USERSYNC', hostNames, "RANGER", "Start");
},
startNameNode: function () {
@@ -171,7 +177,7 @@ App.NameNodeFederationWizardStep4Controller = App.HighAvailabilityProgressPageCo
name: 'restart.custom.filter',
sender: this,
data: {
- filter: "HostRoles/component_name!=NAMENODE&HostRoles/cluster_name=" + App.get('clusterName'),
+ filter: "HostRoles/component_name!=NAMENODE&HostRoles/component_name!=RANGER_ADMIN&HostRoles/component_name!=RANGER_USERSYNC&HostRoles/cluster_name=" + App.get('clusterName'),
context: "Restart Required Services"
},
success: 'startPolling',
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index 27aa950..f4bd399 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -1692,17 +1692,18 @@ Em.I18n.translations = {
'admin.nameNodeFederation.wizard.step4.task3.title': 'Install Additional ZKFCs',
'admin.nameNodeFederation.wizard.step4.task4.title': 'Start JournalNodes',
'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': '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.nameNodeFederation.wizard.step4.task6.title': 'Start Ranger Admin',
+ 'admin.nameNodeFederation.wizard.step4.task7.title': 'Start Ranger Usersync',
+ 'admin.nameNodeFederation.wizard.step4.task8.title': 'Start NameNodes',
+ 'admin.nameNodeFederation.wizard.step4.task9.title': 'Start ZKFCs',
+ 'admin.nameNodeFederation.wizard.step4.task10.title': 'Format NameNode',
+ 'admin.nameNodeFederation.wizard.step4.task11.title': 'Format ZKFC',
+ 'admin.nameNodeFederation.wizard.step4.task12.title': 'Start ZKFC',
+ 'admin.nameNodeFederation.wizard.step4.task13.title': 'Start NameNode',
+ 'admin.nameNodeFederation.wizard.step4.task14.title': 'Bootstrap NameNode',
+ 'admin.nameNodeFederation.wizard.step4.task15.title': 'Start ZKFC',
+ 'admin.nameNodeFederation.wizard.step4.task16.title': 'Start NameNode',
+ 'admin.nameNodeFederation.wizard.step4.task17.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.