Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.3.2, 3.0.0
Description
... } catch (Exception e) { if (tryNum >= numRetriesForUnLock) { String name = ((ZooKeeperHiveLock)hiveLock).getPath(); LOG.error("Node " + name + " can not be deleted after " + numRetriesForUnLock + " attempts."); throw new LockException(e); } }
Do not log and throw. Only throw and move the message into the LockException. There is already error level logging up the stack.
Attachments
Attachments
Issue Links
- relates to
-
HIVE-18878 Lower MoveTask Lock Logging to Debug
- Closed