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

Add an admin command to trigger an edit log roll

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • namenode
    • None
    • Reviewed
    • Introduced a new command, "hdfs dfsadmin -rollEdits" which requests that the active NameNode roll its edit log. This can be useful for administrators manually backing up log segments.

    Description

      This seems like it would also be helpful outside of the context of HA, but especially so given that the standby can currently only read finalized log segments.

      Attachments

        1. hdfs-2793.txt
          15 kB
          Todd Lipcon
        2. hdfs-2793.txt
          15 kB
          Todd Lipcon
        3. hdfs-2793.txt
          18 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            atm Aaron Myers
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: