Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,12 @@ long acquireLock() throws UnknownHostException, TException, InterruptedException
LockState newState = response.getState();
state.set(newState);
if (newState.equals(LockState.WAITING)) {
throw new WaitingForLockException("Waiting for lock.");
throw new WaitingForLockException(
String.format("Waiting for lock on table %s.%s", database, tableName));
}
} catch (InterruptedException e) {
Thread.interrupted(); // Clear the interrupt status flag
LOG.warn("Interrupted while waiting for lock.", e);
LOG.warn("Interrupted while waiting for lock on table {}.{}", database, tableName, e);
}
}, TException.class);
}
Expand Down