[ 
https://issues.apache.org/jira/browse/HIVE-15631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16341714#comment-16341714
 ] 

Prasanth Jayachandran commented on HIVE-15631:
----------------------------------------------

[~tartarus] is the intent of the patch to just disable session id on the 
console?
Session ID is already part of MDC which can be used to route per session logs 
into its own file 
https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/common/LogUtils.java#L221


> Optimize for hive client logs , you can filter the log for each session 
> itself.
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-15631
>                 URL: https://issues.apache.org/jira/browse/HIVE-15631
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI, Clients, Hive
>            Reporter: tartarus
>            Assignee: tartarus
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-15631.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> We have several hadoop cluster, about 15 thousand nodes. Every day we use 
> hive to submit above 100 thousand jobs. 
> So we have a large file of hive logs on every client host every day, but i 
> don not know the logs of my session submitted was which line. 
> So i hope to print the hive.session.id on every line of logs, and then i 
> could use grep to find the logs of my session submitted. 



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

Reply via email to