Skip to content

[Improvement] IcebergRESTServer should not use Gravitino iceberg catalog with REST backend #5153

Open
@FANNG1

Description

@FANNG1

What would you like to be improved?

This may cause deadlock, if IcebergRESTServer using the Gravitino Iceberg catalog with the same Iceberg REST address.

GravitinoBasedIcebergCatalogWrapperProvider.java#getIcebergTableOps()

   Catalog catalog = client.loadMetalake(gravitinoMetalake).loadCatalog(catalogName);
    Preconditions.checkArgument(
        "lakehouse-iceberg".equals(catalog.provider()),
        String.format("%s.%s is not iceberg catalog", gravitinoMetalake, catalogName));
   // should check catalog backend in catalog.properties()

How should we improve?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions