YARN-3473. Fix RM Web UI configuration for some properties (rchiang via rkanter)

This commit is contained in:
Robert Kanter 2015-05-08 16:23:10 -07:00
parent 315074bb08
commit 5658998845
2 changed files with 6 additions and 2 deletions

View File

@ -371,6 +371,8 @@ Release 2.8.0 - UNRELEASED
YARN-3604. Fixed ZKRMStateStore#removeApplication to also disable watch.
(zhihai xu via jianhe)
YARN-3473. Fix RM Web UI configuration for some properties (rchiang via rkanter)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -200,7 +200,8 @@ public class ResourceManager extends CompositeService implements Recoverable {
this.configurationProvider.getConfigurationInputStream(this.conf,
YarnConfiguration.CORE_SITE_CONFIGURATION_FILE);
if (coreSiteXMLInputStream != null) {
this.conf.addResource(coreSiteXMLInputStream);
this.conf.addResource(coreSiteXMLInputStream,
YarnConfiguration.CORE_SITE_CONFIGURATION_FILE);
}
// Do refreshUserToGroupsMappings with loaded core-site.xml
@ -218,7 +219,8 @@ public class ResourceManager extends CompositeService implements Recoverable {
this.configurationProvider.getConfigurationInputStream(this.conf,
YarnConfiguration.YARN_SITE_CONFIGURATION_FILE);
if (yarnSiteXMLInputStream != null) {
this.conf.addResource(yarnSiteXMLInputStream);
this.conf.addResource(yarnSiteXMLInputStream,
YarnConfiguration.YARN_SITE_CONFIGURATION_FILE);
}
validateConfigs(this.conf);