[ 
https://issues.apache.org/jira/browse/HDFS-12867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoyu Yao updated HDFS-12867:
------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: HDFS-7240
           Status: Resolved  (was: Patch Available)

Thanks [~linyiqun] for the contribution and all for the reviews. I've committed 
the patch to the feature branch. 

> 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
>             Fix For: HDFS-7240
>
>         Attachments: HDFS-12867-HDFS-7240.001.patch, 
> HDFS-12867-HDFS-7240.002.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

Reply via email to