hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12023) Ozone: test if all the configuration keys documented in ozone-defaults.xml
Date Fri, 23 Jun 2017 08:16:00 GMT

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

Weiwei Yang commented on HDFS-12023:
------------------------------------

Hi [~elek]

Thank you for filing this jira. We have something similar in existing hadoop project, see
{{TestConfigurationFieldsBase}}, hdfs/yarn/mapred both extended this class for config testing,
I am wondering if we can do something similar in ozone? Have you tried this approach?

Thank you.

> Ozone: test if all the configuration keys documented in ozone-defaults.xml
> --------------------------------------------------------------------------
>
>                 Key: HDFS-12023
>                 URL: https://issues.apache.org/jira/browse/HDFS-12023
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>              Labels: test
>         Attachments: HDFS-12023-HDFS-7240.001.patch
>
>
> HDFS-11990 added the missing configuration entries the ozone-defaults.xml
> This patch contains a unit test which tests if all the configuration keys are still documented.
> (constant fields of the specific configuration classes which ends with _KEY should be
part of the defaults.xml). 



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