YARN-10441. Add support for hadoop.http.rmwebapp.scheduler.page.class. Contributed by D M Murali Krishna Reddy
(cherry picked from commit b61f52ec56
)
This commit is contained in:
parent
5181b2004b
commit
616a41ee32
|
@ -124,6 +124,8 @@ public class YarnConfiguration extends Configuration {
|
|||
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",
|
||||
|
@ -2480,6 +2482,14 @@ public class YarnConfiguration extends Configuration {
|
|||
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";
|
||||
|
||||
|
|
|
@ -157,6 +157,9 @@ public class TestYarnConfigurationFields extends TestConfigurationFieldsBase {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue