Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15005

Support meta tag element in Hadoop XML configurations

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

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

        Attachments

        1. HDFS-12350.01.patch
          20 kB
          Ajay Kumar
        2. HDFS-12350.02.patch
          20 kB
          Ajay Kumar
        3. HDFS-12350.03.patch
          19 kB
          Ajay Kumar

          Issue Links

            Activity

              People

              • Assignee:
                ajayydv Ajay Kumar
                Reporter:
                ajayydv Ajay Kumar
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: