You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "beryllw (via GitHub)" <gi...@apache.org> on 2024/04/25 07:26:09 UTC

[PR] [docs][pipeline-connector][paimon] fix example bug for `Paimon 'wareh… [flink-cdc]

beryllw opened a new pull request, #3260:
URL: https://github.com/apache/flink-cdc/pull/3260

   fix example bug for `Paimon 'warehouse' path must be set`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [docs][pipeline-connector][paimon] fix example bug for `Paimon 'wareh… [flink-cdc]

Posted by "beryllw (via GitHub)" <gi...@apache.org>.
beryllw commented on PR #3260:
URL: https://github.com/apache/flink-cdc/pull/3260#issuecomment-2076549059

   When I use paimon sink I encounter a bug.Looks like this is an incorrect attribute setting in Example yaml
   ```
   Exception in thread "main" java.lang.RuntimeException: failed to create or use paimon catalog
           at org.apache.flink.cdc.connectors.paimon.sink.PaimonDataSinkFactory.createDataSink(PaimonDataSinkFactory.java:72)
           at org.apache.flink.cdc.composer.flink.FlinkPipelineComposer.createDataSink(FlinkPipelineComposer.java:164)
           at org.apache.flink.cdc.composer.flink.FlinkPipelineComposer.compose(FlinkPipelineComposer.java:129)
           at org.apache.flink.cdc.cli.CliExecutor.run(CliExecutor.java:71)
           at org.apache.flink.cdc.cli.CliFrontend.main(CliFrontend.java:71)
   Caused by: java.lang.NullPointerException: Paimon 'warehouse' path must be set
           at org.apache.paimon.utils.Preconditions.checkNotNull(Preconditions.java:65)
           at org.apache.paimon.catalog.CatalogFactory.warehouse(CatalogFactory.java:55)
           at org.apache.paimon.catalog.CatalogFactory.createCatalog(CatalogFactory.java:83)
           at org.apache.paimon.catalog.CatalogFactory.createCatalog(CatalogFactory.java:66)
           at org.apache.paimon.flink.FlinkCatalogFactory.createPaimonCatalog(FlinkCatalogFactory.java:80)
           at org.apache.flink.cdc.connectors.paimon.sink.PaimonDataSinkFactory.createDataSink(PaimonDataSinkFactory.java:68)
           ... 4 more
   ```
   When I correct `metastore` and `warehouse ` to `catalog.properties.xxx`, it's OK.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [docs][pipeline-connector][paimon] fix example bug for `Paimon 'wareh… [flink-cdc]

Posted by "Jiabao-Sun (via GitHub)" <gi...@apache.org>.
Jiabao-Sun merged PR #3260:
URL: https://github.com/apache/flink-cdc/pull/3260


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org