AMBARI-15740. Unable to add multiple fencing methods for dfs.ha.fencing.methods via Ambari UI (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6e349d9a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6e349d9a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6e349d9a Branch: refs/heads/trunk Commit: 6e349d9adca9f2d73fc9790f875e6d653757247c Parents: b1d43fb Author: Alex Antonenko <[email protected]> Authored: Thu Apr 7 17:41:55 2016 +0300 Committer: Alex Antonenko <[email protected]> Committed: Thu Apr 7 18:05:24 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/data/HDP2/ha_properties.js | 1 + ambari-web/app/data/HDP2/ui_properties.js | 9 +++++++++ 2 files changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/6e349d9a/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 0bd905f..18c5a68 100644 --- a/ambari-web/app/data/HDP2/ha_properties.js +++ b/ambari-web/app/data/HDP2/ha_properties.js @@ -192,6 +192,7 @@ module.exports = "description": "A list of scripts or Java classes which will be used to fence the Active NameNode during a failover.", "isReconfigurable": false, "recommendedValue": "shell(/bin/true)", + "displayType": "multiLine", "value": "shell(/bin/true)", "category": "HDFS", "filename": "hdfs-site", http://git-wip-us.apache.org/repos/asf/ambari/blob/6e349d9a/ambari-web/app/data/HDP2/ui_properties.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/data/HDP2/ui_properties.js b/ambari-web/app/data/HDP2/ui_properties.js index ab18bf9..8d731d9 100644 --- a/ambari-web/app/data/HDP2/ui_properties.js +++ b/ambari-web/app/data/HDP2/ui_properties.js @@ -36,5 +36,14 @@ module.exports = [ "filename": "krb5-conf.xml", "category": "Kadmin", "index": 2 + }, + { + "name": "dfs.ha.fencing.methods", + "displayName": "dfs.ha.fencing.methods", + "serviceName": "HDFS", + "filename": "hdfs-site.xml", + "category": "Advanced hdfs-site", + "displayType": "multiLine", + "index": 1 } ];
