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

Support rollback of rolling upgrade in NameNode and JournalNodes

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • journal-node, namenode
    • None
    • Reviewed

    Description

      This jira provides rollback functionality for NameNode and JournalNode in rolling upgrade.

      Currently the proposed rollback for rolling upgrade is:
      1. Shutdown both NN
      2. Start one of the NN using "-rollingUpgrade rollback" option
      3. This NN will load the special fsimage right before the upgrade marker, then discard all the editlog segments after the txid of the fsimage
      4. The NN will also send RPC requests to all the JNs to discard editlog segments. This call expects response from all the JNs. The NN will keep running if the call succeeds.
      5. We start the other NN using bootstrapstandby rather than "-rollingUpgrade rollback"

      Attachments

        1. HDFS-5920.003.patch
          42 kB
          Jing Zhao
        2. HDFS-5920.002.patch
          42 kB
          Jing Zhao
        3. HDFS-5920.001.patch
          39 kB
          Jing Zhao
        4. HDFS-5920.000.patch
          30 kB
          Jing Zhao
        5. HDFS-5920.000.patch
          35 kB
          Jing Zhao

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: