You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2018/05/15 18:17:14 UTC
[ambari] branch trunk updated: AMBARI-23854 NN Federation wizard is
stuck on step 3. (ababiichuk)
This is an automated email from the ASF dual-hosted git repository.
ababiichuk 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 7c26eb6 AMBARI-23854 NN Federation wizard is stuck on step 3. (ababiichuk)
7c26eb6 is described below
commit 7c26eb609db14c04f8842d6929e90bef37460b5a
Author: ababiichuk <ab...@hortonworks.com>
AuthorDate: Tue May 15 20:10:24 2018 +0300
AMBARI-23854 NN Federation wizard is stuck on step 3. (ababiichuk)
---
.../app/controllers/main/admin/federation/step3_controller.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ambari-web/app/controllers/main/admin/federation/step3_controller.js b/ambari-web/app/controllers/main/admin/federation/step3_controller.js
index b9270cc..50dd211 100644
--- a/ambari-web/app/controllers/main/admin/federation/step3_controller.js
+++ b/ambari-web/app/controllers/main/admin/federation/step3_controller.js
@@ -84,7 +84,7 @@ App.NameNodeFederationWizardStep3Controller = Em.Controller.extend(App.Blueprint
onLoad: function () {
if (this.get('isConfigsLoaded') && App.router.get('clusterController.isHDFSNameSpacesLoaded')) {
- var federationConfig = $.extend(true, {}, require('data/configs/wizards/federation_properties').federationConfig);
+ var federationConfig = $.extend(true, {}, require('data/configs/wizards/federation_properties').federationConfig);
if (App.get('hasNameNodeFederation')) {
federationConfig.configs = federationConfig.configs.rejectProperty('firstRun');
}
@@ -137,7 +137,6 @@ App.NameNodeFederationWizardStep3Controller = Em.Controller.extend(App.Blueprint
var result = [];
var configsToRemove = [];
var hdfsSiteConfigs = this.get('serverConfigData').items.findProperty('type', 'hdfs-site').properties;
- var coreSiteConfigs = this.get('serverConfigData').items.findProperty('type', 'core-site').properties;
if (!hdfsSiteConfigs['dfs.namenode.servicerpc-address.' + dependencies.nameservice1 + '.nn1'] && !hdfsSiteConfigs['dfs.namenode.servicerpc-address.' + dependencies.nameservice1 + '.nn2']) {
configsToRemove = configsToRemove.concat([
@@ -151,13 +150,14 @@ App.NameNodeFederationWizardStep3Controller = Em.Controller.extend(App.Blueprint
if (App.Service.find().someProperty('serviceName', 'RANGER')) {
var hdfsRangerConfigs = this.get('serverConfigData').items.findProperty('type', 'ranger-hdfs-security').properties;
var reponamePrefix = hdfsRangerConfigs['ranger.plugin.hdfs.service.name'] === '{{repo_name}}' ? dependencies.clustername + '_hadoop_' : hdfsRangerConfigs['ranger.plugin.hdfs.service.name'] + '_';
+ var coreSiteConfigs = this.get('serverConfigData').items.findProperty('type', 'core-site').properties;
var defaultFSNS = coreSiteConfigs['fs.defaultFS'].split('hdfs://')[1];
nameServices.forEach(function (nameService) {
configs.push(this.createRangerServiceProperty(nameService, reponamePrefix, "ranger.tagsync.atlas.hdfs.instance." + App.get('clusterName') + ".nameservice." + nameService + ".ranger.service"));
+ configs.push(this.createRangerServiceProperty(defaultFSNS, reponamePrefix, "ranger.tagsync.atlas.hdfs.instance." + App.get('clusterName') + ".ranger.service"));
}, this);
}
- configs.push(this.createRangerServiceProperty(defaultFSNS, reponamePrefix, "ranger.tagsync.atlas.hdfs.instance." + App.get('clusterName') + ".ranger.service"));
configs.forEach(function (config) {
if (!configsToRemove.contains(config.name)) {
--
To stop receiving notification emails like this one, please contact
ababiichuk@apache.org.