You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "ngk2009 (via GitHub)" <gi...@apache.org> on 2023/11/14 06:19:26 UTC

[I] [Bug] Database default does not exist in Catalog [incubator-paimon]

ngk2009 opened a new issue, #2310:
URL: https://github.com/apache/incubator-paimon/issues/2310

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.
   
   
   ### Paimon version
   
   0.6
   
   ### Compute Engine
   
   Flink
   
   ### Minimal reproduce step
   
   CREATE CATALOG my_catalog WITH (
       'type' = 'paimon',
       'warehouse' = 's3://lakehouse/paimon',
       's3.endpoint' = 'http://25.30.9.250:9200',
       's3.access-key' = 'root',
       's3.secret-key' = '12345678'
   );
   use catalog my_catalog;
   CREATE TABLE word_count (
       word STRING PRIMARY KEY NOT ENFORCED,
       cnt BIGINT
   );
   
   ### What doesn't meet your expectations?
   
   [ERROR] Could not execute SQL statement. Reason:
   org.apache.flink.table.catalog.exceptions.DatabaseNotExistException: Database default does not exist in Catalog my_catalog.
   
   ### Anything else?
   
   sql-client log:
   Caused by: org.apache.flink.table.catalog.exceptions.DatabaseNotExistException: Database default does not exist in Catalog my_catalog.
   	at org.apache.paimon.flink.FlinkCatalog.createTable(FlinkCatalog.java:312)
   	at org.apache.flink.table.catalog.CatalogManager.lambda$createTable$18(CatalogManager.java:957)
   	at org.apache.flink.table.catalog.CatalogManager.execute(CatalogManager.java:1290)
   	... 16 more
   
   End of exception on server side>]
   	at org.apache.flink.runtime.rest.RestClient.parseResponse(RestClient.java:646) ~[flink-dist-1.18.0.jar:1.18.0]
   	at org.apache.flink.runtime.rest.RestClient.lambda$submitRequest$6(RestClient.java:626) ~[flink-dist-1.18.0.jar:1.18.0]
   	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?]
   	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
   	at java.lang.Thread.run(Thread.java:833) ~[?:?]
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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@paimon.apache.org.apache.org

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


Re: [I] [Bug] Database default does not exist in Catalog [incubator-paimon]

Posted by "ngk2009 (via GitHub)" <gi...@apache.org>.
ngk2009 commented on issue #2310:
URL: https://github.com/apache/incubator-paimon/issues/2310#issuecomment-1809641045

   This problem occurs when flinks-s3-fs-presto is used, but Flinks-s3-fs-Hadoop is normal


-- 
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@paimon.apache.org

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


Re: [I] [Bug] Database default does not exist in Catalog [incubator-paimon]

Posted by "ngk2009 (via GitHub)" <gi...@apache.org>.
ngk2009 commented on issue #2310:
URL: https://github.com/apache/incubator-paimon/issues/2310#issuecomment-1812042550

   S3FileIO uses S3AFileSystem of Hadoop, so it cannot be used successfully. Could you consider specifically stating that s3p cannot be used in the usage instructions


-- 
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@paimon.apache.org

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


Re: [I] [Bug] Database default does not exist in Catalog [incubator-paimon]

Posted by "ngk2009 (via GitHub)" <gi...@apache.org>.
ngk2009 closed issue #2310: [Bug] Database default does not exist in Catalog
URL: https://github.com/apache/incubator-paimon/issues/2310


-- 
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@paimon.apache.org

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