chunjun icon indicating copy to clipboard operation
chunjun copied to clipboard

[Bug] [core] Chunjun core exclude all guava package, and shade rename guava cause standalone mode NoDefClassFound.

Open chaozwn opened this issue 3 years ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

In Flink Standalone mode, run mysql to mysql we can't found CacheBuilder.

image

What you expected to happen

.

How to reproduce

.

Anything else

.

Version

1.12_release

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

chaozwn avatar Aug 13 '22 14:08 chaozwn

@chaozwn can you show your task json/sql?

zoudaokoulife avatar Aug 17 '22 12:08 zoudaokoulife

@chaozwn can you show your task json/sql?

{ "job": { "content": [ { "reader": { "name": "mysqlreader", "parameter": { "column": [ { "name": "id", "type": "int" }, { "name": "name", "type": "string" }, { "name": "idcard", "type": "string" }, { "name": "birthday", "type": "date" }, { "name": "mobile", "type": "varchar" }, { "name": "email", "type": "varchar" }, { "name": "gender", "type": "tinyint" }, { "name": "create_time", "type": "timestamp" }, { "name": "type_smallint", "type": "smallint" }, { "name": "type_mediumint", "type": "mediumint" }, { "name": "type_bigint", "type": "bigint" }, { "name": "type_decimal", "type": "decimal" }, { "name": "type_float", "type": "float" }, { "name": "type_double", "type": "double" }, { "name": "type_text", "type": "text" } ], "username": "root", "password": "123456", "connection": [ { "jdbcUrl": [ "jdbc:mysql://chunjun-e2e-mysql:3306/chunjun?useSSL=false&allowPublicKeyRetrieval=true" ], "table": [ "test" ] } ] } }, "writer": { "name": "mysqlwriter", "parameter": { "username": "root", "password": "123456", "connection": [ { "jdbcUrl": "jdbc:mysql://chunjun-e2e-mysql:3306/chunjun?useSSL=false&allowPublicKeyRetrieval=true", "table": [ "test_sink" ] } ], "writeMode": "insert", "column": [ { "name": "id", "type": "int" }, { "name": "name", "type": "string" }, { "name": "idcard", "type": "string" }, { "name": "birthday", "type": "date" }, { "name": "mobile", "type": "varchar" }, { "name": "email", "type": "varchar" }, { "name": "gender", "type": "tinyint" }, { "name": "create_time", "type": "timestamp" }, { "name": "type_smallint", "type": "smallint" }, { "name": "type_mediumint", "type": "mediumint" }, { "name": "type_bigint", "type": "bigint" }, { "name": "type_decimal", "type": "decimal" }, { "name": "type_float", "type": "float" }, { "name": "type_double", "type": "double" }, { "name": "type_text", "type": "text" } ] } } } ], "setting": { "speed": { "channel": 1, "bytes": 0 } } } }

chaozwn avatar Aug 17 '22 12:08 chaozwn