Skip to main content
Version: 1.3.1

Discover the Iceberg REST service endpoint

GET 

/system/iceberg-rest

Reports the endpoint of the Iceberg REST service running as an auxiliary service of this Gravitino server, so that clients which already connect to the Gravitino server, such as the Trino connector, can discover it instead of configuring it separately. The reported uri is null when the service is not registered, does not use the dynamic catalog config provider, or serves a different metalake than the requested one. When gravitino.iceberg-rest.advertised-uri is configured, it is reported as-is; otherwise the endpoint is derived from the service's listener configuration, and a wildcard listener host is replaced with the host the caller used to reach the Gravitino server. The response is therefore marked Cache-Control: no-store.

Request​

Query Parameters

    metalake string

    The metalake the caller intends to route through the Iceberg REST service. When omitted or blank, the endpoint is reported regardless of which metalake it serves.

Responses​

The Iceberg REST service endpoint

Schema

    code integerrequired

    Response code, 0 for success

    uri stringnullable

    The Iceberg REST service endpoint, or null when the service is not running or does not serve the requested metalake

Loading...