YARN-10441. Add support for hadoop.http.rmwebapp.scheduler.page.class. Contributed by D M Murali Krishna Reddy

This commit is contained in:
Brahma Reddy Battula 2021-03-30 09:51:47 +05:30
parent d0dcfc405c
commit b61f52ec56
2 changed files with 13 additions and 0 deletions

View File

@ -120,6 +120,8 @@ private static void addDeprecatedKeys() {
CommonConfigurationKeys.ZK_TIMEOUT_MS),
new DeprecationDelta(RM_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[] {
new DeprecationDelta("yarn.resourcemanager.display.per-user-apps",
@ -2487,6 +2489,14 @@ public static boolean isAclEnabled(Configuration conf) {
public static final String YARN_HTTP_WEBAPP_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 =
"yarn.http.rmwebapp.scheduler.page.class";

View File

@ -157,6 +157,9 @@ public void initializeMemberVariables() {
configurationPropsToSkipCompare
.add(YarnConfiguration.DEFAULT_RM_RESOURCE_PROFILES_SOURCE_FILE);
configurationPropsToSkipCompare
.add(YarnConfiguration.HADOOP_HTTP_WEBAPP_SCHEDULER_PAGE);
// Ignore NodeManager "work in progress" variables
configurationPrefixToSkipCompare
.add(YarnConfiguration.NM_NETWORK_RESOURCE_ENABLED);