[ https://issues.apache.org/jira/browse/HIVE-25152?focusedWorklogId=600799&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-600799 ]
ASF GitHub Bot logged work on HIVE-25152: ----------------------------------------- Author: ASF GitHub Bot Created on: 22/May/21 09:59 Start Date: 22/May/21 09:59 Worklog Time Spent: 10m Work Description: pgaref commented on a change in pull request #2310: URL: https://github.com/apache/hive/pull/2310#discussion_r637383091 ########## File path: llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/SlotZnode.java ########## @@ -256,9 +256,7 @@ private void processWatchedEvent(WatchedEvent event) { private void processCreateResult(CuratorFramework client, CuratorEvent event) throws Exception { boolean doesExist = event.getResultCode() == KeeperException.Code.NODEEXISTS.intValue(); if (!doesExist && event.getResultCode() != KeeperException.Code.OK.intValue()) { - if (LOG.isInfoEnabled()) { - LOG.info("Trying to reacquire due to create error: " + event); - } + LOG.info("Trying to reacquire due to create error: " + event); Review comment: Trying to reacquire due to create error: {} -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 600799) Time Spent: 1h 40m (was: 1.5h) > Remove Superfluous Logging Code > ------------------------------- > > Key: HIVE-25152 > URL: https://issues.apache.org/jira/browse/HIVE-25152 > Project: Hive > Issue Type: Improvement > Reporter: David Mollitor > Assignee: David Mollitor > Priority: Major > Labels: pull-request-available > Time Spent: 1h 40m > Remaining Estimate: 0h > > So much logging code can be removed to lessen the amount of code in the > project (and perhaps some small performance gains). -- This message was sent by Atlassian Jira (v8.3.4#803005)