You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experimenting with setting up Iceberg locally and I am trying to connect to a custom s3 endpoint to use as the backend for my project.
I am getting the following HTTP error when trying to create a new table:
Traceback (most recent call last):
File "/Users/rt2549/miniconda3/envs/iceberg/lib/python3.11/site-packages/pyiceberg/catalog/rest.py", line 470, in create_table
response.raise_for_status()
File "/Users/rt2549/miniconda3/envs/iceberg/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Server Error for url: http://localhost:8181/v1/namespaces/default/tables
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/rt2549/projects/test-db/ingest.py", line 29, in <module>
main()
File "/Users/rt2549/projects/test-db/ingest.py", line 22, in main
table = catalog.create_table(
^^^^^^^^^^^^^^^^^^^^^
File "/Users/rt2549/miniconda3/envs/iceberg/lib/python3.11/site-packages/pyiceberg/catalog/rest.py", line 472, in create_table
self._handle_non_200_response(exc, {409: TableAlreadyExistsError})
File "/Users/rt2549/miniconda3/envs/iceberg/lib/python3.11/site-packages/pyiceberg/catalog/rest.py", line 382, in _handle_non_200_response
raise exception(response) from exc
pyiceberg.exceptions.ServerError: SdkClientException: Unable to execute HTTP request: Remote host terminated the handshake
Hi @nastra thanks for your suggestion. I am not sure if this is the issue. If I navigate locally to that URI http://localhost:8181/v1/namespaces/default/tables I can see the following output:
{
"identifiers": []
}
If I navigate to http://localhost:8181/v1/namespaces/default I can see this output:
Apache Iceberg version
1.5.2 (latest release)
Query engine
None
Please describe the bug 馃悶
Hi,
I am experimenting with setting up Iceberg locally and I am trying to connect to a custom s3 endpoint to use as the backend for my project.
I am getting the following HTTP error when trying to create a new table:
My ingestion script looks like the following:
My docker compose is copied from the iceberg tutorial:
I can create and
ls
files with my s3 credentials at that endpoint with other tools with no problem.The text was updated successfully, but these errors were encountered: