-
Notifications
You must be signed in to change notification settings - Fork 330
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The script failed to launch spark sql shell.
To Reproduce
./gradlew run- Run Spark sql in another terminal
./regtest/run_spark_sql.sh
Actual Behavior
{"error":{"message":"Unsupported storage type: FILE","type":"IllegalArgumentException","code":400}}HTTP/1.1 404 Not Found
content-length: 93
Content-Type: application/json
{"error":{"message":"Catalog not found: manual_spark","type":"NotFoundException","code":404}}HTTP/1.1 404 Not Found
content-length: 157
Content-Type: application/json
Exception in thread "main" org.apache.iceberg.exceptions.RESTException: Unable to process: Unable to find warehouse manual_spark
at org.apache.iceberg.rest.ErrorHandlers$DefaultErrorHandler.accept(ErrorHandlers.java:224)
at org.apache.iceberg.rest.ErrorHandlers$DefaultErrorHandler.accept(ErrorHandlers.java:188)
at org.apache.iceberg.rest.HTTPClient.throwFailure(HTTPClient.java:211)
at org.apache.iceberg.rest.HTTPClient.execute(HTTPClient.java:323)
at org.apache.iceberg.rest.HTTPClient.execute(HTTPClient.java:262)
at org.apache.iceberg.rest.HTTPClient.get(HTTPClient.java:358)
at org.apache.iceberg.rest.RESTSessionCatalog.fetchConfig(RESTSessionCatalog.java:1045)
at org.apache.iceberg.rest.RESTSessionCatalog.initialize(RESTSessionCatalog.java:254)
at org.apache.iceberg.rest.RESTCatalog.initialize(RESTCatalog.java:78)
at org.apache.iceberg.CatalogUtil.loadCatalog(CatalogUtil.java:274)
at org.apache.iceberg.CatalogUtil.buildIcebergCatalog(CatalogUtil.java:328)
at org.apache.iceberg.spark.SparkCatalog.buildIcebergCatalog(SparkCatalog.java:154)
at org.apache.iceberg.spark.SparkCatalog.initialize(SparkCatalog.java:753)
at org.apache.spark.sql.connector.catalog.Catalogs$.load(Catalogs.scala:65)
Expected Behavior
Launch a spark sql shell
Additional context
This should be caused by #1532.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working