[ https://issues.apache.org/jira/browse/HDFS-12867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270234#comment-16270234 ]
Anu Engineer commented on HDFS-12867: ------------------------------------- Thanks for taking care of this, +1, pending Jenkins. cc: [~nandakumar131], [~xyao] > Ozone: TestOzoneConfigurationFields fails consistently > ------------------------------------------------------ > > Key: HDFS-12867 > URL: https://issues.apache.org/jira/browse/HDFS-12867 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone, test > Affects Versions: HDFS-7240 > Reporter: Yiqun Lin > Assignee: Yiqun Lin > Attachments: HDFS-12867-HDFS-7240.001.patch > > > The unit test TestOzoneConfigurationFields fails consistently because of 2 > config entries missing in ozone-default file. The stack trace: > {noformat} > java.lang.AssertionError: class org.apache.hadoop.ozone.OzoneConfigKeys class > org.apache.hadoop.scm.ScmConfigKeys class > org.apache.hadoop.ozone.ksm.KSMConfigKeys class > org.apache.hadoop.cblock.CBlockConfigKeys has 2 variables missing in > ozone-default.xml Entries: ozone.rest.client.port ozone.rest.servers > expected:<0> but was:<2> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:555) > at > org.apache.hadoop.conf.TestConfigurationFieldsBase.testCompareConfigurationClassAgainstXml(TestConfigurationFieldsBase.java:493) > {noformat} > The config {{ozone.rest.client.port}}, {{ozone.rest.servers}} were introduced > in HDFS-12549 but missing to documented. This leads the failure. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org