flyrain opened a new issue, #1649:
URL: https://github.com/apache/polaris/issues/1649
### Describe the bug
The script failed to launch spark sql shell.
### To Reproduce
1. `./gradlew run`
2. 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
_No response_
### Additional context
_No response_
### System information
_No response_
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]