You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/03/29 21:15:04 UTC
ambari git commit: AMBARI-15615. Populate property
dfs.internal.nameservices when enabling NN HA (alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 0808f2cb5 -> 220c88c37
AMBARI-15615. Populate property dfs.internal.nameservices when enabling NN HA (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/220c88c3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/220c88c3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/220c88c3
Branch: refs/heads/trunk
Commit: 220c88c377d904044a118065c617477a21b3ac53
Parents: 0808f2c
Author: Alex Antonenko <hi...@gmail.com>
Authored: Tue Mar 29 18:17:37 2016 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Tue Mar 29 22:14:59 2016 +0300
----------------------------------------------------------------------
ambari-web/app/data/HDP2/ha_properties.js | 11 +++++++++++
ambari-web/app/utils/configs/nn_ha_config_initializer.js | 1 +
2 files changed, 12 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/220c88c3/ambari-web/app/data/HDP2/ha_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2/ha_properties.js b/ambari-web/app/data/HDP2/ha_properties.js
index 9d268d9..0bd905f 100644
--- a/ambari-web/app/data/HDP2/ha_properties.js
+++ b/ambari-web/app/data/HDP2/ha_properties.js
@@ -77,6 +77,17 @@ module.exports =
"serviceName": 'MISC'
},
{
+ "name": "dfs.internal.nameservices",
+ "displayName": "dfs.internal.nameservices",
+ "description": "Comma-separated list of nameservices.",
+ "isReconfigurable": false,
+ "recommendedValue": "haCluster",
+ "value": "haCluster",
+ "category": "HDFS",
+ "filename": "hdfs-site",
+ "serviceName": 'MISC'
+ },
+ {
"name": "dfs.ha.namenodes.${dfs.nameservices}",
"displayName": "dfs.ha.namenodes.${dfs.nameservices}",
"description": "The prefix for a given nameservice, contains a comma-separated list of namenodes for a given nameservice.",
http://git-wip-us.apache.org/repos/asf/ambari/blob/220c88c3/ambari-web/app/utils/configs/nn_ha_config_initializer.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/configs/nn_ha_config_initializer.js b/ambari-web/app/utils/configs/nn_ha_config_initializer.js
index 5126a3b..3a48e8d 100644
--- a/ambari-web/app/utils/configs/nn_ha_config_initializer.js
+++ b/ambari-web/app/utils/configs/nn_ha_config_initializer.js
@@ -113,6 +113,7 @@ App.NnHaConfigInitializer = App.HaConfigInitializerClass.create(App.HostsBasedIn
],
'dfs.client.failover.proxy.provider.${dfs.nameservices}': getRenameWithNamespaceConfig('${dfs.nameservices}'),
'dfs.nameservices': getNamespaceConfig(),
+ 'dfs.internal.nameservices': getNamespaceConfig(),
'fs.defaultFS': getNamespaceConfig('hdfs://'),
'dfs.namenode.shared.edits.dir': [
this.getHostsWithPortConfig('JOURNALNODE', 'qjournal://', '/${dfs.nameservices}', ';', '8485', false),