Skip to content

tableExists requests are hanging on the Iceberg endpoint #1046

Closed

Description

@tmater

Describe the bug
Newer Iceberg clients 1.8+ are using HEAD requests to check table existence: apache/iceberg@bc36f5e

For some reason the table existence endpoint defined in IcebergRestCatalogService does not respond to the client request and hangs.

To Reproduce

  • I tested with the 0.3 branch and the official 0.3 docker image.
  • Can be reproduced with curl
$ curl -v --head "http://localhost:8080/api/2.1/unity-catalog/iceberg/v1/catalogs/unity/namespaces/default/tables/marksheet_uniform"

* Host localhost:8080 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:8080...
* Connected to localhost (::1) port 8080
> HEAD /api/2.1/unity-catalog/iceberg/v1/catalogs/unity/namespaces/default/tables/marksheet_uniform HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/8.7.1
> Accept: */*
> 
* Request completely sent off
<hanging>

Expected behavior
Expecting an HTTP/1.1 200 OK or exception from the server, similar to the GET request on the same endpoint.

System

  • Tried the docker image: 0.3 on MacOS 15.1.1
  • Built unitycatalog from scratch on MacOS 15.1.1: branch-0.3

Additional context

  • Started debugging it, looks like request reaches IcebergRestCatalogService.tableExists(...), but then the client does not receive a response.
  • Tried upgrading armeria to 1.32.3, but the behavior did not change.
  • Hanging even when the table does not exist.

Activity

  1. added
    bug
    on Jul 8, 2025
  2. changed the title [-]tableExists requests are hanging on the Iceberg endpoints[/-] [+]tableExists requests are hanging on the Iceberg endpoint[/+] on Jul 8, 2025
  3. added a commit that references this issue on Jul 28, 2026
    5f58cda
  4. added a commit that references this issue on Jul 28, 2026
    094487c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions