You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "xuyong (Jira)" <ji...@apache.org> on 2022/11/01 07:22:00 UTC
[jira] [Created] (FLINK-29826) flink-sql-connector-hbase-1.4 netty class not found, because of shade not work
xuyong created FLINK-29826:
------------------------------
Summary: flink-sql-connector-hbase-1.4 netty class not found, because of shade not work
Key: FLINK-29826
URL: https://issues.apache.org/jira/browse/FLINK-29826
Project: Flink
Issue Type: Bug
Components: Connectors / HBase
Affects Versions: 1.15.2
Environment: flink 1.15.1
hbase 1.4
Reporter: xuyong
Attachments: 2022-11-01 22-55-12屏幕截图-1.png, 2022-11-01 23-06-41屏幕截图.png, 2022-11-01 23-18-00屏幕截图.png
flink-connectors/flink-sql-connector-hbase-1.4/pom.xml ,flink-connectors/flink-sql-connector-hbase-2.2/pom.xml shade plugin only include <include>io.netty:netty-all</include> artifactId. this jar does not contains classes. it noly has META-INF.this cause somebody use flink-sql-connector-hbase-1.4 dependency netty classe not found .
I also tried flink-sql-connector-hbase-2.2, it workes perfected. Because hbase-client itself shaded netty. So this does not affect this connector.
When I change <include>io.netty:netty-all</include> to <include>io.netty:*</include> and repackage this, it workes.
Please fix it, thanks
--
This message was sent by Atlassian Jira
(v8.20.10#820010)