YARN-3473. Fix RM Web UI configuration for some properties (rchiang via rkanter)
(cherry picked from commit 5658998845bbeb3f09037a891f6b254585848de7)
This commit is contained in:
parent
015b30c3ab
commit
453488cff2
@ -326,6 +326,8 @@ Release 2.8.0 - UNRELEASED
|
|||||||
YARN-3604. Fixed ZKRMStateStore#removeApplication to also disable watch.
|
YARN-3604. Fixed ZKRMStateStore#removeApplication to also disable watch.
|
||||||
(zhihai xu via jianhe)
|
(zhihai xu via jianhe)
|
||||||
|
|
||||||
|
YARN-3473. Fix RM Web UI configuration for some properties (rchiang via rkanter)
|
||||||
|
|
||||||
Release 2.7.1 - UNRELEASED
|
Release 2.7.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -200,7 +200,8 @@ protected void serviceInit(Configuration conf) throws Exception {
|
|||||||
this.configurationProvider.getConfigurationInputStream(this.conf,
|
this.configurationProvider.getConfigurationInputStream(this.conf,
|
||||||
YarnConfiguration.CORE_SITE_CONFIGURATION_FILE);
|
YarnConfiguration.CORE_SITE_CONFIGURATION_FILE);
|
||||||
if (coreSiteXMLInputStream != null) {
|
if (coreSiteXMLInputStream != null) {
|
||||||
this.conf.addResource(coreSiteXMLInputStream);
|
this.conf.addResource(coreSiteXMLInputStream,
|
||||||
|
YarnConfiguration.CORE_SITE_CONFIGURATION_FILE);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do refreshUserToGroupsMappings with loaded core-site.xml
|
// Do refreshUserToGroupsMappings with loaded core-site.xml
|
||||||
@ -218,7 +219,8 @@ protected void serviceInit(Configuration conf) throws Exception {
|
|||||||
this.configurationProvider.getConfigurationInputStream(this.conf,
|
this.configurationProvider.getConfigurationInputStream(this.conf,
|
||||||
YarnConfiguration.YARN_SITE_CONFIGURATION_FILE);
|
YarnConfiguration.YARN_SITE_CONFIGURATION_FILE);
|
||||||
if (yarnSiteXMLInputStream != null) {
|
if (yarnSiteXMLInputStream != null) {
|
||||||
this.conf.addResource(yarnSiteXMLInputStream);
|
this.conf.addResource(yarnSiteXMLInputStream,
|
||||||
|
YarnConfiguration.YARN_SITE_CONFIGURATION_FILE);
|
||||||
}
|
}
|
||||||
|
|
||||||
validateConfigs(this.conf);
|
validateConfigs(this.conf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user