Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
3.0.0, 4.0.0
Description
org/apache/hadoop/hive/ql/exec/spark/SmallTableCache.java
if (LOG.isDebugEnabled()) { LOG.debug("Cleaned up small table cache for query " + queryId); } if (tableContainerMap.putIfAbsent(path, tableContainer) == null && LOG.isDebugEnabled()) { LOG.debug("Cached small table file " + path + " for query " + queryId); } if (tableContainer != null && LOG.isDebugEnabled()) { LOG.debug("Loaded small table file " + path + " from cache for query " + queryId); }
Remove isDebugEnabled and replace with parameterized logging.