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

-rollingUpgrade query hits NPE after the NN restarts

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-5535 (Rolling upgrades)
    • None
    • datanode, ha, hdfs-client, namenode
    • None

    Description

      NamenodeRpcServer#rollingUpgrade throws an NPE during query after the NN restarts. It complains that the BlockPoolId in RollingUpgradeInfo equals to null.

      Further investigation shows that the BlockPoolId remains uninitialized when FSImage#loadFSImage constructs the RollingUpgradeInfo object, leading to the NPE.

      Attachments

        1. HDFS-6032.000.patch
          3 kB
          Haohui Mai

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wheat9 Haohui Mai
            wheat9 Haohui Mai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment