[
https://issues.apache.org/jira/browse/HDFS-12350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16157710#comment-16157710
]
Hudson commented on HDFS-12350:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12811 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/12811/])
HDFS-12350. Support meta tags in configs. Contributed by Ajay Kumar.
(aengineer: rev a4cd101934ae5a5cad9663de872fb4ecee0d7560)
* (edit)
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfiguration.java
* (edit)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
* (add)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/PropertyTag.java
* (add)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/HDFSPropertyTag.java
* (add)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/YarnPropertyTag.java
* (add)
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/CorePropertyTag.java
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]