Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1596

Move secondary namenode checkpoint configs from core-default.xml to hdfs-default.xml

    Details

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Removed references to the older fs.checkpoint.* properties that resided in core-site.xml
    • Tags:
      checkpoint, secondarynamenode

      Description

      The following configs are in core-default.xml, but are really read by the Secondary Namenode. These should be moved to hdfs-default.xml for consistency.

      <property>
      <name>fs.checkpoint.dir</name>
      <value>$

      {hadoop.tmp.dir}

      /dfs/namesecondary</value>
      <description>Determines where on the local filesystem the DFS secondary
      name node should store the temporary images to merge.
      If this is a comma-delimited list of directories then the image is
      replicated in all of the directories for redundancy.
      </description>
      </property>

      <property>
      <name>fs.checkpoint.edits.dir</name>
      <value>$

      {fs.checkpoint.dir}

      </value>
      <description>Determines where on the local filesystem the DFS secondary
      name node should store the temporary edits to merge.
      If this is a comma-delimited list of directoires then teh edits is
      replicated in all of the directoires for redundancy.
      Default value is same as fs.checkpoint.dir
      </description>
      </property>

      <property>
      <name>fs.checkpoint.period</name>
      <value>3600</value>
      <description>The number of seconds between two periodic checkpoints.
      </description>
      </property>

      <property>
      <name>fs.checkpoint.size</name>
      <value>67108864</value>
      <description>The size of the current edit log (in bytes) that triggers
      a periodic checkpoint even if the fs.checkpoint.period hasn't expired.
      </description>
      </property>

      1. HDFS-7117.r2.diff
        4 kB
        Harsh J
      2. HDFS-7117.r1.diff
        6 kB
        Harsh J

        Issue Links

          Activity

          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Tsz Wo Nicholas Sze made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.21.1 [ 12315271 ]
          Fix Version/s 0.22.0 [ 12314241 ]
          Resolution Fixed [ 1 ]
          Tsz Wo Nicholas Sze made changes -
          Hadoop Flags [Reviewed]
          Component/s documentation [ 12312918 ]
          Harsh J made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Harsh J made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Harsh J made changes -
          Attachment HDFS-7117.r2.diff [ 12473714 ]
          Harsh J made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Release Note Removed references to the older fs.checkpoint.* properties that resided in core-site.xml
          Fix Version/s 0.23.0 [ 12315571 ]
          Tags checkpoint, secondarynamenode
          Harsh J made changes -
          Assignee Harsh J Chouraria [ qwertymaniac ]
          Harsh J made changes -
          Attachment HDFS-7117.r1.diff [ 12469584 ]
          Patrick Angeles made changes -
          Field Original Value New Value
          Link This issue relates to HADOOP-7117 [ HADOOP-7117 ]
          Patrick Angeles created issue -

            People

            • Assignee:
              Harsh J
              Reporter:
              Patrick Angeles
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development