- 
                Notifications
    You must be signed in to change notification settings 
- Fork 9.1k
HADOOP-17046. Support downstreams' existing Hadoop-rpc implementations using non-shaded protobuf classes #2026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
bd8509e    to
    397300e      
    Compare
  
    | way beyond my area of expertise, i'm afraid | 
| 💔 -1 overall 
 
 
 This message was automatically generated. | 
        
          
                hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/ProtobufRpcEngine.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...mon-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/ProtobufRpcEngineCallback.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      397300e    to
    23384ec      
    Compare
  
    | Updated the PR with review comment fixes. + below changes | 
| 💔 -1 overall 
 
 
 This message was automatically generated. | 
23384ec    to
    75f47ac      
    Compare
  
    | 💔 -1 overall 
 
 
 This message was automatically generated. | 
        
          
                ...educe-client-jobclient/src/test/java/org/apache/hadoop/mapred/pipes/TestPipeApplication.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | Now I'm +1. Hi @jojochuang could you review this? | 
75f47ac    to
    56247db      
    Compare
  
    | I think, by mistake I had closed this PR, while replying to comment. Not able to re-open. | 
| 
 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanx @vinayakumarb for the fix.
Jenkins has complains regarding whitespace, give a check if that can be fixed.
Apart LGTM +1
| 💔 -1 overall 
 
 
 This message was automatically generated. | 
…s using non-shaded protobuf classes (apache#2026)
f4f0051    to
    8ff3758      
    Compare
  
    | 💔 -1 overall 
 
 This message was automatically generated. | 
…s using non-shaded protobuf classes (#2026)
…s using non-shaded protobuf classes (#2026)
…s using non-shaded protobuf classes (apache#2026)
After upgrade/shade of protobuf to 3.7 version, existing Hadoop-Rpc client-server implementations using ProtobufRpcEngine will not work.
So, this Jira proposes to keep existing ProtobuRpcEngine as-is (without shading and with protobuf-2.5.0 implementation) to support downstream implementations.
Use new ProtobufRpcEngine2 to use shaded protobuf classes within Hadoop and later projects who wish to upgrade their protobufs to 3.x.