Hosowai created FLINK-40591:
-------------------------------

             Summary: flink-sql-connector-pulsar does not shade 
protobuf,conflicts with hbase-client and other dependencies
                 Key: FLINK-40591
                 URL: https://issues.apache.org/jira/browse/FLINK-40591
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / Pulsar
    Affects Versions: pulsar-3.0.0
            Reporter: Hosowai


flink-sql-connector-pulsar v4.0 use protobuf 3.21.9, but hadoop 3.2 and hbase 
2.4.5 use protobuf 2.5.0, it will cause 
"java.lang.IncompatibleClassChangeError: class 
com.google.protobuf.LiteralByteString overrides final method 
com.google.protobuf.ByteString.peekCachedHashCode()I ".

The way to fix this: add relocation protobuf in 
flink-sql-connector-pulsar/pom.xml 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to