[ https://issues.apache.org/jira/browse/HIVE-18415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704933#comment-16704933 ]
BELUGA BEHR commented on HIVE-18415: ------------------------------------ [~ngangam] I would argue that regardless of any changes, this should be debug information. In my experience, I have never used these log lines for anything useful during normal operation. We can create a separate JIRA to enhance the log messages, but my gut tells me that these log messages are too verbose for normal (INFO) level operation. If performance needs to be measured, there are other places in the code that use the PERF logger. My SOP here would be to look at the PERF log message for performance issues and then to turn on only this logger at the DEBUG level to zero in on the exact issue. > Lower "Updating Partition Stats" Logging Level > ---------------------------------------------- > > Key: HIVE-18415 > URL: https://issues.apache.org/jira/browse/HIVE-18415 > Project: Hive > Issue Type: Improvement > Components: Metastore > Affects Versions: 1.2.2, 2.2.0, 3.0.0, 2.3.2 > Reporter: BELUGA BEHR > Assignee: BELUGA BEHR > Priority: Trivial > Attachments: HIVE-18415.1.patch > > > {code:title=org.apache.hadoop.hive.metastore.utils.MetaStoreUtils} > LOG.warn("Updating partition stats fast for: " + part.getTableName()); > ... > LOG.warn("Updated size to " + params.get(StatsSetupConst.TOTAL_SIZE)); > {code} > This logging produces many lines of WARN log messages in my log file and it's > not clear to me what the issue is here. Why is this a warning and how should > I respond to address this warning? > DEBUG is probably more appropriate for a utility class. Please lower. -- This message was sent by Atlassian JIRA (v7.6.3#76005)