hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elek, Marton (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 17:36:00 GMT

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

Elek, Marton commented on HDFS-12023:
-------------------------------------

Thanks the hint, TestConfigurationFieldsBase is exactly what I needed. Updated the patch.

It also shows if the defaults are different:

I increased the OZONE_SCM_HANDLER_COUNT_DEFAULT to 20 (as it was defined in ozone-default)

But I couldn't decide if the handler type should be fixed or not. (As I know the local is
only for testing)

{code}
ozone-default.xml has 1 properties that do not match the default Config value
  XML Property: ozone.handler.type
  XML Value:    local
  Config Name:  OZONE_HANDLER_TYPE_DEFAULT
  Config Value: distributed
{code}



> 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-12023-HDFS-7240.002.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