public ShowLocksResponse getLocks(ShowLocksRequest showLocksRequest) throws LockException {
    try {
      return txnManager.getMS().showLocks(showLocksRequest);
    } catch (TException e) {
      throw new LockException(ErrorMsg.METASTORE_COMMUNICATION_FAILED.getMsg(), e);
    }
  }
Used to make another attempt to acquire a lock (in Waiting state)
@param extLockId
@return result of the attempt
@throws LockException
ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbLockManager.java