Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HDFS-5535 (Rolling upgrades)
    • Fix Version/s: None
    • Component/s: datanode, ha, hdfs-client, namenode
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: