[ 
https://issues.apache.org/jira/browse/HDFS-12350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ajay Kumar updated HDFS-12350:
------------------------------
    Description: 
We should add meta tag extension to the hadoop/hdfs config so that we can 
retrieve properties by various tags like PERFORMANCE, NAMENODE etc. Right now 
we don't have an option available to group or list properties related to 
performance or security or datanodes. 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 with meta tag.

{code}
<configuration>
   <property>
      <name>dfs.namenode.servicerpc-bind-host</name>
      <value>localhost</value>
      <meta> REQUIRED </meta>
   </property>
   
  <property>
      <name>dfs.namenode.fs-limits.min-block-size</name>
      <value> 1048576 </value>
      <meta> PERFORMANCE,REQUIRED</meta>
   </property>

 <property>
      <name>dfs.namenode.logging.level</name>
      <value>Info</value>
      <meta>HDFS, DEBUG </meta>
   </property>
      
<configuration>
{code}

  was:
We should add meta tag extension to the hadoop/hdfs config so that we can 
retrieve properties by various tags like PERFORMANCE, NAMENODE etc. Right now 
we don't have an option available to group or list properties related to 
performance or security or datanodes. 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 with meta tag.

{code}
<configuration>
   <property>
      <name>dfs.namenode.servicerpc-bind-host</name>
      <value>localhost</value>
      <meta> REQUIRED </meta>
   </property>
   
  <property>
      <name>dfs.namenode.fs-limits.min-block-size</name>
      <value> 1048576 </value>
      <meta> PERFORMANCE</meta>
   </property>

 <property>
      <name>dfs.namenode.logging.level</name>
      <value>Info</value>
      <meta> TRACE, DEBUG </meta>
   </property>
      
<configuration>
{code}


> 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
>
> We should add meta tag extension to the hadoop/hdfs config so that we can 
> retrieve properties by various tags like PERFORMANCE, NAMENODE etc. Right now 
> we don't have an option available to group or list properties related to 
> performance or security or datanodes. 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 with meta tag.
> {code}
> <configuration>
>    <property>
>       <name>dfs.namenode.servicerpc-bind-host</name>
>       <value>localhost</value>
>       <meta> REQUIRED </meta>
>    </property>
>    
>   <property>
>       <name>dfs.namenode.fs-limits.min-block-size</name>
>       <value> 1048576 </value>
>       <meta> PERFORMANCE,REQUIRED</meta>
>    </property>
>  <property>
>       <name>dfs.namenode.logging.level</name>
>       <value>Info</value>
>       <meta>HDFS, DEBUG </meta>
>    </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]

Reply via email to