-
Notifications
You must be signed in to change notification settings - Fork 771
Description
Describe what's wrong
The web UI tried to make these calls which fail:
http://localhost:3000/api/metalakes/metalake/catalogs/null
http://localhost:3000/api/metalakes/metalake/catalogs/null/schemas
There errors are hidden and only show up in teh developer console.
(Note also that null coudl be a valid but poor choice of a name for a schema)
Error message and/or stacktrace
{message: 'Request failed with status code 404', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}
M {message: 'Request failed with status code 404', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}
How to reproduce
Create a metalake and a catalog:
curl -X POST -H "Content-Type: application/json" -d '{"name":"metalake","comment":"Test metalake"}' http://localhost:8090/api/metalakes
curl -X POST -H "Content-Type: application/json" -d '{"name":"test","comment":"Test catalog","type":"RELATIONAL", "provider":"hive","properties":{"metastore.uris":"thrift://0.0.0.0:9083"}}' http://localhost:8090/api/metalakes/metalake/catalogs
View the catalog in the UI.
Additional context
No response