[
https://issues.apache.org/jira/browse/YARN-7260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16183659#comment-16183659
]
Rohith Sharma K S commented on YARN-7260:
-----------------------------------------
bq. The test is failing because yarn-default.xml has
yarn.router.clientrm.cache-max-size but that doesn't appear in YarnConfiguration
thanks [~jlowe] for the investigation. As part of test improvement, I think it
would be a good to print all missing configurations in assert message. When I
checked assert message, I could not able to find which configurations are
missing!
> yarn.router.pipeline.cache-max-size is missing in yarn-default.xml
> ------------------------------------------------------------------
>
> Key: YARN-7260
> URL: https://issues.apache.org/jira/browse/YARN-7260
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.9.0
> Reporter: Rohith Sharma K S
> Assignee: Jason Lowe
> Attachments: YARN-7260-branch-2.001.patch
>
>
> In branch-2 TestYarnConfigurationFields fails
> {code}
> Running org.apache.hadoop.yarn.api.records.TestURL Tests run: 1, Failures: 0,
> Errors: 0, Skipped: 0, Time elapsed: 0.278 sec - in
> org.apache.hadoop.yarn.api.records.TestURL Running
> org.apache.hadoop.yarn.conf.TestYarnConfigurationFields Tests run: 4,
> Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.539 sec <<< FAILURE! - in
> org.apache.hadoop.yarn.conf.TestYarnConfigurationFields
> testCompareXmlAgainstConfigurationClass(org.apache.hadoop.yarn.conf.TestYarnConfigurationFields)
> Time elapsed: 0.296 sec <<< FAILURE! java.lang.AssertionError:
> yarn-default.xml has 1 properties missing in class
> org.apache.hadoop.yarn.conf.YarnConfiguration at
> org.junit.Assert.fail(Assert.java:88) at
> org.junit.Assert.assertTrue(Assert.java:41) at
> org.apache.hadoop.conf.TestConfigurationFieldsBase.testCompareXmlAgainstConfigurationClass(TestConfigurationFieldsBase.java:588)
>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]