You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2018/07/23 16:15:02 UTC
[jira] [Created] (HIVE-20223) SmallTableCache.java SLF4J
Parameterized Logging
BELUGA BEHR created HIVE-20223:
----------------------------------
Summary: SmallTableCache.java SLF4J Parameterized Logging
Key: HIVE-20223
URL: https://issues.apache.org/jira/browse/HIVE-20223
Project: Hive
Issue Type: Improvement
Components: Spark
Affects Versions: 3.0.0, 4.0.0
Reporter: BELUGA BEHR
{code:java|title=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);
}
{code}
Remove {{isDebugEnabled}} and replace with parameterized logging.
https://www.slf4j.org/faq.html#logging_performance
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)