hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12867) Ozone: TestOzoneConfigurationFields fails consistently
Date Wed, 29 Nov 2017 06:30:01 GMT

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

Yiqun Lin updated HDFS-12867:
-----------------------------
    Status: Patch Available  (was: Open)

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message