Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1073 Simpler model for Namenode's fs Image and edit Logs
  3. HDFS-2123

1073: Checkpoint interval should be based on txn count, not size

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Edit log branch (HDFS-1073)
    • namenode
    • None
    • Incompatible change, Reviewed
    • Hide
      The SecondaryNameNode and CheckpointNode no longer respect the value of 'dfs.namenode.checkpoint.size' (formerly known as 'fs.checkpoint.size' in 0.20 and before). Instead, use the new configuration 'dfs.namenode.checkpoint.txns' to specify the number of transactions after which the checkpointer will trigger a new checkpoint.
      Show
      The SecondaryNameNode and CheckpointNode no longer respect the value of 'dfs.namenode.checkpoint.size' (formerly known as 'fs.checkpoint.size' in 0.20 and before). Instead, use the new configuration 'dfs.namenode.checkpoint.txns' to specify the number of transactions after which the checkpointer will trigger a new checkpoint.

    Description

      Currently, the administrator can configure the secondary namenode to checkpoint either every N seconds, or every N bytes worth of edit log. It would make more sense to get rid of the size-based interval and instead allow the administrator to specify checkpoints every N transactions. This also simplifies the code a little bit.

      Attachments

        1. hdfs-2123.txt
          23 kB
          Todd Lipcon
        2. hdfs-2123.txt
          23 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: