apache / paimon

Apache Paimon is a lake format that enables building a Realtime Lakehouse Architecture with Flink and Spark for both streaming and batch operations.
https://paimon.apache.org/
Apache License 2.0
2.42k stars 949 forks source link

[Bug] java.lang.NoSuchFieldError: PULSAR_ADMIN_URL #2934

Open riritack opened 8 months ago

riritack commented 8 months ago

Search before asking

Paimon version

0.7.0

Compute Engine

flink

Minimal reproduce step

use pulsar cdc sink s3 /home/flink/flink/flink-1.18.1/bin/flink run \ /home/flink/flink/action/paimon-flink-action-0.7.0-incubating.jar \ pulsar_sync_database \ --warehouse s3://paimon/warehouse \ --database ODS \ --computed_column 'pt=date_format(CREATION_DATE,yyyy-MM)' \ --pulsar_conf pulsar.admin.adminUrl=xxxx \ --pulsar_conf pulsar.client.serviceUrl=xxxx \ --pulsar_conf topic=persistent://data-warehouse/ods/IMES-GZ \ --pulsar_conf value.format=ogg-json \ --pulsar_conf pulsar.consumer.subscriptionName=paimon-tests \ --pulsar_conf pulsar.pulsar.client.authPluginClassName=org.apache.pulsar.client.impl.auth.AuthenticationToken \ --pulsar_conf pulsar.client.authParams=xxx \ --table_conf bucket=1 \ --table_conf changelog-producer=input \ --table_conf sink.parallelism=1 \ --catalog_conf s3.endpoint=xxx \ --catalog_conf s3.access-key=xxx \ --catalog_conf s3.secret-key=xxx

What doesn't meet your expectations?

java.lang.NoSuchFieldError: PULSAR_ADMIN_URL

Anything else?

No response

Are you willing to submit a PR?

sunxiaojian commented 8 months ago

@riritack Pulsar connector version may be incorrect

riritack commented 8 months ago

Pulsar connector version may be incorrect flink-connector-pulsar-4.1.0-1.18.jar its the leatest

sunxiaojian commented 8 months ago

Pulsar connector version may be incorrect flink-connector-pulsar-4.1.0-1.18.jar its the leatest

@riritack Try replacing it with 4.0.0