You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "CloseRiver (Jira)" <ji...@apache.org> on 2020/11/19 08:27:00 UTC

[jira] [Created] (FLINK-20236) flink-dist.jar and hive-exec.jar have conflict with protobuf-java.jar

CloseRiver created FLINK-20236:
----------------------------------

             Summary: flink-dist.jar and hive-exec.jar have conflict with protobuf-java.jar
                 Key: FLINK-20236
                 URL: https://issues.apache.org/jira/browse/FLINK-20236
             Project: Flink
          Issue Type: Bug
         Environment: flink 1.11.1

hive 2.3.4
            Reporter: CloseRiver


We customed the protobuf format.When using the hive catalog and consume the protobuf data from kafka,the following exception appear
{code:java}
java.lang.NoSuchMethodError: com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List;java.lang.NoSuchMethodError: com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List; at com.google.protobuf.GeneratedMessageV3$FieldAccessorTable.<init>(GeneratedMessageV3.java:1813)
{code}
What should i do,exclude the protobuf-java from flink-dist or from hive-exec.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)