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

NN running newer software rejects loading the fsimage during rolling upgrade.

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      During rolling upgrade, the standby NN that has a newer layout version will complain about that the fsimage is too old, and require starting the NN using the -upgrade option:

      File system image contains an old layout version -55. An upgrade to version -56 is required.
      

      However, -upgrade is disabled during rolling upgrade, thus it is impossible to restart the standby NN:

      org.apache.hadoop.hdfs.protocol.RollingUpgradeException: Failed to upgrade namenode since a rolling upgrade is already in progress. Existing rolling upgrade info:
      ...
      

      Attachments

        1. h6031_20140227e.patch
          13 kB
          Tsz-wo Sze
        2. h6031_20140227d.patch
          13 kB
          Tsz-wo Sze
        3. h6031_20140227c.patch
          6 kB
          Tsz-wo Sze
        4. h6031_20140227b.patch
          2 kB
          Tsz-wo Sze
        5. h6031_20140227.patch
          0.7 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              wheat9 Haohui Mai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: