You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2019/10/28 15:14:00 UTC
[jira] [Commented] (HIVE-22409) Logging: Implement QueryID Based
Hive Logging
[ https://issues.apache.org/jira/browse/HIVE-22409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961142#comment-16961142 ]
David Mollitor commented on HIVE-22409:
---------------------------------------
I think logging can certainly be better. I've worked on some areas of this already. However, I wouldn't be a favor of this. There would have to be some facilities for managing these logs for creation, tracking in the code which log file a message should go to and for making sure they get cleared up. Seems like a lot of overhead to do that well. I think it's best to keep it simple and make sure that more logging includes the sessionID so that a simple 'grep' will suffice.
HIVE-20831
> Logging: Implement QueryID Based Hive Logging
> ---------------------------------------------
>
> Key: HIVE-22409
> URL: https://issues.apache.org/jira/browse/HIVE-22409
> Project: Hive
> Issue Type: Improvement
> Reporter: Syed Shameerur Rahman
> Assignee: Syed Shameerur Rahman
> Priority: Minor
>
> Currently all the hive logs are logged in ${sys:hive.log.dir}/${sys:hive.log.file} which is basically a single log file. Over the time it becomes tedious to search for logs since multiple hive query logs are logged into single log file.
> Hence we propose a queryID based hive logging where logs of different queries are logged into a separate log file based on their queryID.
> CC [~prasanth_j] [~gopalv] [~sseth]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)