Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1596

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

    XMLWordPrintableJSON

Details

    • Reviewed
    • Removed references to the older fs.checkpoint.* properties that resided in core-site.xml
    • 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>

      Attachments

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

        Issue Links

          Activity

            People

              qwertymaniac Harsh J
              patrickangeles Patrick Angeles
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: