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

NameNode Failover during HA upgrade can cause DataNode to finalize upgrade

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Currently for HA upgrade (enabled by HDFS-5138), we use -bootstrapStandby to initialize the standby NameNode. The standby NameNode does not have the previous directory thus it does not know that the cluster is in the upgrade state. If NN failover happens, as response of block reports, the new ANN will tell DNs to finalize the upgrade thus make it impossible to rollback again.

      Attachments

        1. HDFS-8127.000.patch
          29 kB
          Jing Zhao
        2. HDFS-8127.001.patch
          31 kB
          Jing Zhao

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: