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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • common
    • None
    • Incompatible change, Reviewed
    • 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

              vinayakumarb Vinayakumar B
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: