Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2831

Description of dfs.namenode.name.dir should be changed

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.21.0, 0.23.0
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      None
    • Environment:

      NA

      Description

      <property>
        <name>dfs.namenode.name.dir</name>
        <value>file://${hadoop.tmp.dir}/dfs/name</value>
        <description>Determines where on the local filesystem the DFS name node
            should store the name table(fsimage).  If this is a comma-delimited list
            of directories then the name table is replicated in all of the
            directories, for redundancy. </description>
      </property>
      

      In the above property the description part is given as "Determines where on the local filesystem the DFS name node should store the name table(fsimage). " but it stores both name table(If nametable means only fsimage) and edits file.

        Activity

        J.Andreina created issue -
        Hide
        Harsh J added a comment -

        Key "dfs.namenode.edits.dir" is the config for edits location and it uses "dfs.namenode.name.dir" as its default value. I think the docs holds good as it is, and we shouldn't add in about edits to make it ambiguous.

        An improvement we can do, however, is to make the right key for edits more visible. But I have not seen a great need to change this location among several users. I think this is fine as is. But please put forth your POV too, as what lead to requiring moving the edits dir?

        If you agree, we can resolve this one out

        Show
        Harsh J added a comment - Key "dfs.namenode.edits.dir" is the config for edits location and it uses "dfs.namenode.name.dir" as its default value. I think the docs holds good as it is, and we shouldn't add in about edits to make it ambiguous. An improvement we can do, however, is to make the right key for edits more visible. But I have not seen a great need to change this location among several users. I think this is fine as is. But please put forth your POV too, as what lead to requiring moving the edits dir? If you agree, we can resolve this one out
        Hide
        Rushabh S Shah added a comment -

        Hey,
        I was just watching the backlog of 0.23.x version and I came across this jira.
        I too agree with Harsh J point.
        J.Andreina: Can you please put forward your view on Harsh comment so that we can resolve it.

        Show
        Rushabh S Shah added a comment - Hey, I was just watching the backlog of 0.23.x version and I came across this jira. I too agree with Harsh J point. J.Andreina : Can you please put forward your view on Harsh comment so that we can resolve it.
        Hide
        Uma Maheswara Rao G added a comment -

        Lets resolve this. Feel free to reopen with the reason if you disagree.

        Show
        Uma Maheswara Rao G added a comment - Lets resolve this. Feel free to reopen with the reason if you disagree.
        Uma Maheswara Rao G made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        J.Andreina added a comment -

        Thanks everyone for explaining. I got the difference. I too agree with your point.

        Show
        J.Andreina added a comment - Thanks everyone for explaining. I got the difference. I too agree with your point.
        Allen Wittenauer made changes -
        Fix Version/s 2.0.0-alpha [ 12320353 ]
        Fix Version/s 0.24.0 [ 12317653 ]
        Allen Wittenauer made changes -
        Fix Version/s 2.0.0-alpha [ 12320353 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        807d 10h 10m 1 Uma Maheswara Rao G 10/Apr/14 17:36

          People

          • Assignee:
            Unassigned
            Reporter:
            J.Andreina
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development