BELUGA BEHR created HIVE-19106:

             Summary: Hive ZooKeeper Locking - Throw and Log
                 Key: HIVE-19106
             Project: Hive
          Issue Type: Improvement
          Components: Locking
    Affects Versions: 2.3.2, 3.0.0
            Reporter: BELUGA BEHR

      } 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.

This message was sent by Atlassian JIRA

Reply via email to