Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] org.apache.paimon.flink.action.cdc.format.DataFormat IllegalAccessError #3999

Closed
1 of 2 tasks
lipeng186 opened this issue Aug 19, 2024 · 2 comments · Fixed by #4024
Closed
1 of 2 tasks

[Bug] org.apache.paimon.flink.action.cdc.format.DataFormat IllegalAccessError #3999

lipeng186 opened this issue Aug 19, 2024 · 2 comments · Fixed by #4024
Assignees
Labels
bug Something isn't working

Comments

@lipeng186
Copy link
Contributor

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version

In the master branch, null parameter construction is used during the initialization process of the org.apache.paimon.flink.action.cdc.format.DataFormat class, but there is no null parameter construction method in the corresponding class;
eg:public enum DataFormat {
CANAL_JSON(
CanalRecordParser::new,
KafkaDebeziumJsonDeserializationSchema::new,
CdcJsonDeserializationSchema::new),
OGG_JSON(
OggRecordParser::new,
KafkaDebeziumJsonDeserializationSchema::new,
CdcJsonDeserializationSchema::new),
MAXWELL_JSON(
MaxwellRecordParser::new,
KafkaDebeziumJsonDeserializationSchema::new,
CdcJsonDeserializationSchema::new),
DEBEZIUM_JSON(
DebeziumJsonRecordParser::new,
KafkaDebeziumJsonDeserializationSchema::new,
CdcJsonDeserializationSchema::new),
DEBEZIUM_AVRO(
DebeziumAvroRecordParser::new,
KafkaDebeziumAvroDeserializationSchema::new,
PulsarDebeziumAvroDeserializationSchema::new),
JSON(
JsonRecordParser::new,
KafkaDebeziumJsonDeserializationSchema::new,
CdcJsonDeserializationSchema::new);

Compute Engine

flink1.7.2

Minimal reproduce step

coding error org.apache.paimon.flink.action.cdc.format.DataFormat

What doesn't meet your expectations?

java.lang.IllegalAccessError: no such constructor: org.apache.paimon.flink.action.cdc.kafka.KafkaDebeziumAvroDeserializationSchema

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@zhuangchong
Copy link
Contributor

@lipeng186 How to reproduce your problem?

@lipeng186
Copy link
Contributor Author

run org.apache.paimon.flink.action.FlinkActions
params : kafka_sync_database

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants