Skip to content

Difficulty to investigate hive-metastore locking issue #5040

@krisdas

Description

@krisdas

While acquiring hive-metastore lock on an Iceberg table, after every timeout, below log line is printed, which doesn't have database and table name information.

org.apache.iceberg.hive.HiveTableOperations$WaitingForLockException: Waiting for lock.

After exhausting all the re-try attempt, finally below log line prints database and table name.

Retrying task after failure: Timed out after 180133 ms waiting for lock on database.table

Created a small PR to add the database and table name in first log line to speed up investigation related with locking.

cc : @szehon-ho @dramaticlly

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions