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] #739

Open
szindel opened this issue Nov 28, 2024 · 0 comments
Open

[Bug] #739

szindel opened this issue Nov 28, 2024 · 0 comments

Comments

@szindel
Copy link

szindel commented Nov 28, 2024

Describe the bug
When attempting to run the pulsar lakehouse sink example(! https://streamnative.io/blog/announcing-delta-lake-sink-connector-apache-pulsar ) locally, an java error occurs:

ERROR org.apache.pulsar.functions.LocalRunner - Encountered error starting localrunner
java.lang.IllegalArgumentException: Could not validate sink config: Cannot construct instance of org.apache.pulsar.ecosystem.io.lakehouse.SinkConnectorConfig (no Creators, like default constructor, exist): abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information
at [Source: UNKNOWN; byte offset: #UNKNOWN]
at org.apache.pulsar.functions.utils.SinkConfigUtils.validateSinkConfig(SinkConfigUtils.java:747) ~[org.apache.pulsar-pulsar-functions-utils-3.0.5.jar:3.0.5]
at org.apache.pulsar.functions.utils.SinkConfigUtils.validateSinkConfig(SinkConfigUtils.java:731) ~[org.apache.pulsar-pulsar-functions-utils-3.0.5.jar:3.0.5]
at org.apache.pulsar.functions.utils.SinkConfigUtils.validateAndExtractDetails(SinkConfigUtils.java:561) ~[org.apache.pulsar-pulsar-functions-utils-3.0.5.jar:3.0.5]
at org.apache.pulsar.functions.LocalRunner.start(LocalRunner.java:423) ~[org.apache.pulsar-pulsar-functions-local-runner-original-3.0.5.jar:3.0.5]
at org.apache.pulsar.functions.LocalRunner.main(LocalRunner.java:221) ~[org.apache.pulsar-pulsar-functions-local-runner-original-3.0.5.jar:3.0.5]

To Reproduce
After init of the pulsar standalone cluster: run the commands in https://streamnative.io/blog/announcing-delta-lake-sink-connector-apache-pulsar

Actual command:
PULSAR_HOME/bin/pulsar-admin sinks localrun --sink-config-file /tmp/pulsar-functions/connectors/pulsar-delta-lake-sink-config.json

with the settings from the example: with my local cluster settings updated over where needed (tenant / namespace)

Expected behavior
To have the sink create succesfully

Screenshots
image

Environment

  • OS: [e.g. Ubuntu]
  • Pulsar version: [e.g. 3.0.5
  • Deployment: standalone
  • Connector pulsar-io-lakehouse-3.0.5.8.nar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant