Yiqun Lin created HDFS-12867:
--------------------------------

             Summary: Ozone: TestOzoneConfigurationFields fails consitently
                 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


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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to