You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Nanda kumar (JIRA)" <ji...@apache.org> on 2018/04/14 19:40:00 UTC

[jira] [Commented] (HDFS-13449) Ozone: TestOzoneConfigurationFields is failing

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

Nanda kumar commented on HDFS-13449:
------------------------------------

Stacktrace
{code}
[INFO] Running org.apache.hadoop.ozone.TestOzoneConfigurationFields
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.259 s <<< FAILURE! - in org.apache.hadoop.ozone.TestOzoneConfigurationFields
[ERROR] testCompareXmlAgainstConfigurationClass(org.apache.hadoop.ozone.TestOzoneConfigurationFields)  Time elapsed: 0.112 s  <<< FAILURE!
java.lang.AssertionError: ozone-default.xml has 2 properties missing in  class org.apache.hadoop.ozone.OzoneConfigKeys  class org.apache.hadoop.hdds.scm.ScmConfigKeys  class org.apache.hadoop.ozone.ksm.KSMConfigKeys Entries:   hadoop.custom.tags  ozone.system.tags 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.testCompareXmlAgainstConfigurationClass(TestConfigurationFieldsBase.java:540)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}

> Ozone: TestOzoneConfigurationFields is failing
> ----------------------------------------------
>
>                 Key: HDFS-13449
>                 URL: https://issues.apache.org/jira/browse/HDFS-13449
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Nanda kumar
>            Priority: Major
>
> {{TestOzoneConfigurationFields}} is failing because of two properties introduced in ozone-default.xml by HDFS-13197
>  * hadoop.custom.tags
>  * ozone.system.tags
>  
>  Which are not present in any ConfigurationClasses.



--
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