Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13363 Upgrade protobuf from 2.5.0 to something newer
  3. HADOOP-16621

[pb-upgrade] Remove Protobuf classes from signatures of Public APIs

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: common
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      Following APIs have been removed from Token.java to avoid protobuf classes in signature.
      1. o.a.h.security.token.Token(TokenProto tokenPB)
      2. o.a.h.security.token.Token.toTokenProto()
      Show
      Following APIs have been removed from Token.java to avoid protobuf classes in signature. 1. o.a.h.security.token.Token(TokenProto tokenPB) 2. o.a.h.security.token.Token.toTokenProto()

      Description

      the move to protobuf 3.x stops spark building because Token has a method which returns a protobuf, and now its returning some v3 types.

      if we want to isolate downstream code from protobuf changes, we need to move that marshalling method from token and put in a helper class.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              vinayakumarb Vinayakumar B
              Reporter:
              stevel@apache.org Steve Loughran

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment