YARN-10441. Add support for hadoop.http.rmwebapp.scheduler.page.class. Contributed by D M Murali Krishna Reddy
This commit is contained in:
parent
d0dcfc405c
commit
b61f52ec56
|
@ -120,6 +120,8 @@ public class YarnConfiguration extends Configuration {
|
||||||
CommonConfigurationKeys.ZK_TIMEOUT_MS),
|
CommonConfigurationKeys.ZK_TIMEOUT_MS),
|
||||||
new DeprecationDelta(RM_ZK_RETRY_INTERVAL_MS,
|
new DeprecationDelta(RM_ZK_RETRY_INTERVAL_MS,
|
||||||
CommonConfigurationKeys.ZK_RETRY_INTERVAL_MS),
|
CommonConfigurationKeys.ZK_RETRY_INTERVAL_MS),
|
||||||
|
new DeprecationDelta(HADOOP_HTTP_WEBAPP_SCHEDULER_PAGE,
|
||||||
|
YARN_HTTP_WEBAPP_SCHEDULER_PAGE)
|
||||||
});
|
});
|
||||||
Configuration.addDeprecations(new DeprecationDelta[] {
|
Configuration.addDeprecations(new DeprecationDelta[] {
|
||||||
new DeprecationDelta("yarn.resourcemanager.display.per-user-apps",
|
new DeprecationDelta("yarn.resourcemanager.display.per-user-apps",
|
||||||
|
@ -2487,6 +2489,14 @@ public class YarnConfiguration extends Configuration {
|
||||||
public static final String YARN_HTTP_WEBAPP_EXTERNAL_CLASSES =
|
public static final String YARN_HTTP_WEBAPP_EXTERNAL_CLASSES =
|
||||||
"yarn.http.rmwebapp.external.classes";
|
"yarn.http.rmwebapp.external.classes";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated This field is deprecated for
|
||||||
|
* {@link #YARN_HTTP_WEBAPP_SCHEDULER_PAGE}
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
public static final String HADOOP_HTTP_WEBAPP_SCHEDULER_PAGE =
|
||||||
|
"hadoop.http.rmwebapp.scheduler.page.class";
|
||||||
|
|
||||||
public static final String YARN_HTTP_WEBAPP_SCHEDULER_PAGE =
|
public static final String YARN_HTTP_WEBAPP_SCHEDULER_PAGE =
|
||||||
"yarn.http.rmwebapp.scheduler.page.class";
|
"yarn.http.rmwebapp.scheduler.page.class";
|
||||||
|
|
||||||
|
|
|
@ -157,6 +157,9 @@ public class TestYarnConfigurationFields extends TestConfigurationFieldsBase {
|
||||||
configurationPropsToSkipCompare
|
configurationPropsToSkipCompare
|
||||||
.add(YarnConfiguration.DEFAULT_RM_RESOURCE_PROFILES_SOURCE_FILE);
|
.add(YarnConfiguration.DEFAULT_RM_RESOURCE_PROFILES_SOURCE_FILE);
|
||||||
|
|
||||||
|
configurationPropsToSkipCompare
|
||||||
|
.add(YarnConfiguration.HADOOP_HTTP_WEBAPP_SCHEDULER_PAGE);
|
||||||
|
|
||||||
// Ignore NodeManager "work in progress" variables
|
// Ignore NodeManager "work in progress" variables
|
||||||
configurationPrefixToSkipCompare
|
configurationPrefixToSkipCompare
|
||||||
.add(YarnConfiguration.NM_NETWORK_RESOURCE_ENABLED);
|
.add(YarnConfiguration.NM_NETWORK_RESOURCE_ENABLED);
|
||||||
|
|
Loading…
Reference in New Issue