hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12350) Support meta tags in configs
Date Wed, 01 Nov 2017 15:44:00 GMT

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

Steve Loughran commented on HDFS-12350:
---------------------------------------

This is a change to hadoop-common. It should have been filed and discussed there. Please don't
make changes to hadoop-common in hdfs patches without some publicity. thanks

> Support meta tags in configs
> ----------------------------
>
>                 Key: HDFS-12350
>                 URL: https://issues.apache.org/jira/browse/HDFS-12350
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Ajay Kumar
>            Assignee: Ajay Kumar
>            Priority: Major
>             Fix For: 3.1.0
>
>         Attachments: HDFS-12350.01.patch, HDFS-12350.02.patch, HDFS-12350.03.patch
>
>
> We should tag the hadoop/hdfs config so that we can retrieve properties by there usage/application
like PERFORMANCE, NAMENODE etc. Right now we don't have an option available to group or list
related properties together. Grouping properties through some restricted set of Meta tags
and then exposing them in Configuration class will be useful for end users.
> For example, here is an config file with tags.
> {code}
> <configuration>
>    <property>
>       <name>dfs.namenode.servicerpc-bind-host</name>
>       <value>localhost</value>
>       <tag> REQUIRED </tag>
>    </property>
>    
>   <property>
>       <name>dfs.namenode.fs-limits.min-block-size</name>
>       <value> 1048576 </value>
>       <tag> PERFORMANCE,REQUIRED</tag>
>    </property>
>  <property>
>       <name>dfs.namenode.logging.level</name>
>       <value>Info</value>
>       <tag>HDFS, DEBUG </tag>
>    </property>
>       
> <configuration>
> {code}



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