You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by GitBox <gi...@apache.org> on 2022/03/18 13:11:36 UTC

[GitHub] [tez] abstractdog commented on a change in pull request #192: TEZ-4363: Bump protobuf dependency to 3.x

abstractdog commented on a change in pull request #192:
URL: https://github.com/apache/tez/pull/192#discussion_r829984680



##########
File path: tez-dag/src/main/java/org/apache/tez/dag/history/events/AMLaunchedEvent.java
##########
@@ -90,7 +91,7 @@ public void toProtoStream(CodedOutputStream outputStream) throws IOException {
 
   @Override
   public void fromProtoStream(CodedInputStream inputStream) throws IOException {
-    AMLaunchedProto proto = inputStream.readMessage(AMLaunchedProto.PARSER, null);
+    AMLaunchedProto proto = inputStream.readMessage(AMLaunchedProto.parser(), ExtensionRegistry.newInstance());

Review comment:
       1. is this PARSER -> parser() change backward compatible?
   2. what is ExtensionRegistry.newInstance() about exactly?
   
   in general, I want to avoid every direct change in the first place which makes tez unable to compile on 2.5...
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org