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

Revert HDFS-5079. Cleaning up NNHAStatusHeartbeat.State DatanodeProtocolProtos.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: rolling upgrades
    • Labels:
      None
    • Target Version/s:
    • Release Note:
      Hide
      HDFS-5079 was reverted since it introduced incompatible protocol changes that blocked rolling upgrade.
      Show
      HDFS-5079 was reverted since it introduced incompatible protocol changes that blocked rolling upgrade.

      Description

      HDFS-5079 changed the meaning of state in NNHAStatusHeartbeat when it added in the INITIALIZING state via HAServiceStateProto.

      Before change:

      enum State {
         ACTIVE = 0;
         STANDBY = 1;
      }
      

      After change:

      enum HAServiceStateProto {
        INITIALIZING = 0;
        ACTIVE = 1;
        STANDBY = 2;
      }
      

      So the new INITIALIZING state will be interpreted as ACTIVE, new ACTIVE interpreted as STANDBY and new STANDBY interpreted as unknown. Any rolling upgrade to 3.0.0 will break because the datanodes that haven't been updated will misinterpret the NN state.

        Attachments

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment