BELUGA BEHR created HIVE-20224:
----------------------------------

             Summary: ReplChangeManager.java Remove Logging Guards
                 Key: HIVE-20224
                 URL: https://issues.apache.org/jira/browse/HIVE-20224
             Project: Hive
          Issue Type: Improvement
          Components: Metastore, Standalone Metastore
    Affects Versions: 3.0.0, 4.0.0
            Reporter: BELUGA BEHR


{code:java|title=metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ReplChangeManager.java}
if (LOG.isDebugEnabled()) {
  LOG.debug("A file with the same content of {} already exists, ignore", 
path.toString());
}
// ---->
LOG.debug("A file with the same content of {} already exists, ignore", path);


if (LOG.isDebugEnabled()) {
  LOG.debug("Encoded URI: " + encodedUri);
}
// ---->
LOG.debug("Encoded URI: {}", encodedUri);


if (LOG.isDebugEnabled()) {
  LOG.debug("Move " + file.toString() + " to trash");
}
// ---->
 LOG.debug("Move {} to trash", file);

... others
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to