Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20236

flink-dist.jar and hive-exec.jar have conflict with protobuf-java.jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 1.11.1, 1.12.0
    • None
    • None
    • flink 1.11.1

      hive 2.3.4

    Description

      We customed the protobuf format.When using the hive catalog and consume the protobuf data from kafka,the following exception appear

      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)
      

      What should i do,exclude the protobuf-java from flink-dist or from hive-exec.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ZhuShang zhuxiaoshang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: