[ https://issues.apache.org/jira/browse/YARN-11101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17517924#comment-17517924 ]
Akira Ajisaka commented on YARN-11101: -------------------------------------- Thank you [~zuston] for the information. I'll close this as duplicate. > Fix TestYarnConfigurationFields > ------------------------------- > > Key: YARN-11101 > URL: https://issues.apache.org/jira/browse/YARN-11101 > Project: Hadoop YARN > Issue Type: Bug > Components: documentation, newbie > Reporter: Akira Ajisaka > Priority: Major > > yarn.resourcemanager.node-labels.am.default-node-label-expression is missing > in yarn-default.xml. > {noformat} > [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) > {noformat} -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org