Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
yarn.resourcemanager.node-labels.am.default-node-label-expression is missing in yarn-default.xml.
[INFO] Running org.apache.hadoop.yarn.conf.TestYarnConfigurationFields [ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.533 s <<< FAILURE! - in org.apache.hadoop.yarn.conf.TestYarnConfigurationFields [ERROR] testCompareConfigurationClassAgainstXml Time elapsed: 0.082 s <<< FAILURE! java.lang.AssertionError: class org.apache.hadoop.yarn.conf.YarnConfiguration has 1 variables missing in yarn-default.xml Entries: yarn.resourcemanager.node-labels.am.default-node-label-expression expected:<0> but was:<1> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.apache.hadoop.conf.TestConfigurationFieldsBase.testCompareConfigurationClassAgainstXml(TestConfigurationFieldsBase.java:493)
Attachments
Issue Links
- is broken by
-
YARN-11084 Introduce new config to specify AM default node-label when not specified
-
- Resolved
-
- is duplicated by
-
YARN-11106 Fix the test failure due to missing conf of yarn.resourcemanager.node-labels.am.default-node-label-expression
-
- Resolved
-