Skip to content

Commit

Permalink
add another log line
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhang10 committed Dec 3, 2024
1 parent 63085a2 commit ee2e3ce
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,11 @@ protected long acquireLock() throws UnknownHostException, TException, Interrupte
Thread.currentThread(),
fullName);
LockState newState = response.getState();
LOG.warn(
"In thread {}, lock state returned from hmsclient.checkLock() on table {} is {}",
Thread.currentThread(),
fullName,
newState);
state.set(newState);
if (newState.equals(LockState.WAITING)) {
throw new WaitingForLockException(
Expand Down

0 comments on commit ee2e3ce

Please sign in to comment.