Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5535 Umbrella jira for improved HDFS rolling upgrades
  3. HDFS-6000

Avoid saving namespace when starting rolling upgrade

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • datanode, ha, hdfs-client, namenode
    • None
    • Reviewed

    Description

      Currently when administrator sends the "rollingUpgrade start" command to the active NN, the NN will trigger a checkpoint (the rollback fsimage). This will cause NN not able to serve for a period of time.

      An alternative way is just to let the SBN do checkpoint, and rename the first checkpoint after starting the rolling upgrade to rollback image. After the rollback image is on both the ANN and the SBN, administrator can start upgrading the software.

      Attachments

        1. HDFS-6000.000.patch
          30 kB
          Jing Zhao
        2. HDFS-6000.001.patch
          55 kB
          Jing Zhao
        3. HDFS-6000.002.patch
          55 kB
          Jing Zhao
        4. HDFS-6000.003.patch
          55 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: