You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2014/02/14 13:31:13 UTC
git commit: AMBARI-4654 Provide ability to configure YARN AHS port.
(Denys Buzhor via atkach)
Updated Branches:
refs/heads/trunk dbee456ae -> 287b3d7b1
AMBARI-4654 Provide ability to configure YARN AHS port. (Denys Buzhor via atkach)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/287b3d7b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/287b3d7b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/287b3d7b
Branch: refs/heads/trunk
Commit: 287b3d7b1e268630428b37ec805f355431fc5fbf
Parents: dbee456
Author: atkach <at...@hortonworks.com>
Authored: Fri Feb 14 14:31:09 2014 +0200
Committer: atkach <at...@hortonworks.com>
Committed: Fri Feb 14 14:31:09 2014 +0200
----------------------------------------------------------------------
.../HDP/2.1.1/services/YARN/configuration/yarn-site.xml | 6 ++++++
ambari-web/app/data/HDP2/site_properties.js | 11 +++++++++++
ambari-web/app/models/service_config.js | 4 ++++
3 files changed, 21 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/287b3d7b/ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/yarn-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/yarn-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/yarn-site.xml
index 99fa62c..b995b72 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/yarn-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.1.1/services/YARN/configuration/yarn-site.xml
@@ -358,4 +358,10 @@
Location where YARN's Application History Server stores information.
</description>
</property>
+
+ <property>
+ <name>yarn.ahs.webapp.address</name>
+ <value>0.0.0.0:8188</value>
+ <description></description>
+ </property>
</configuration>
http://git-wip-us.apache.org/repos/asf/ambari/blob/287b3d7b/ambari-web/app/data/HDP2/site_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/HDP2/site_properties.js b/ambari-web/app/data/HDP2/site_properties.js
index 3a97c6a..074fdd4 100644
--- a/ambari-web/app/data/HDP2/site_properties.js
+++ b/ambari-web/app/data/HDP2/site_properties.js
@@ -333,6 +333,17 @@ module.exports =
"category": "AppTimelineServer",
"serviceName": "YARN"
},
+ {
+ "id": "site property",
+ "name": "yarn.ahs.webapp.address",
+ "displayName": "yarn.ahs.webapp.address",
+ "value": "",
+ "defaultValue": "0.0.0.0:8188",
+ "displayType": "string",
+ "isVisible": App.supports.appTimelineServer, // @todo remove after Application Timeline Server approving
+ "category": "AppTimelineServer",
+ "serviceName": "YARN"
+ },
/**********************************************MAPREDUCE2***************************************/
{
"id": "site property",
http://git-wip-us.apache.org/repos/asf/ambari/blob/287b3d7b/ambari-web/app/models/service_config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/service_config.js b/ambari-web/app/models/service_config.js
index 31d83e8..dc82950 100644
--- a/ambari-web/app/models/service_config.js
+++ b/ambari-web/app/models/service_config.js
@@ -342,6 +342,10 @@ App.ServiceConfigProperty = Ember.Object.extend({
var rmHost = masterComponentHostsInDB.findProperty('component', 'RESOURCEMANAGER').hostName;
this.setDefaultValue("(\\w*)(?=:)",rmHost);
break;
+ case 'yarn.ahs.webapp.address':
+ var hsHost = masterComponentHostsInDB.findProperty('component', 'HISTORYSERVER').hostName;
+ this.setDefaultValue("(0.0.0.0)(?=:)", hsHost);
+ break;
case 'nm_hosts':
this.set('value', slaveComponentHostsInDB.findProperty('componentName', 'NODEMANAGER').hosts.mapProperty('hostName'));
break;