hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12867) Ozone: TestOzoneConfigurationFields fails consistently
Date Tue, 24 Apr 2018 20:59:06 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451126#comment-16451126
] 

Hudson commented on HDFS-12867:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-12867. Ozone: TestOzoneConfigurationFields fails consistently. (xyao: rev 76b8ba737f017efbd19109408c2c81ae8b3b886a)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/resources/ozone-default.xml


> 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
>            Priority: Major
>             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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message