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

tartarus commented on HIVE-15631:
---------------------------------

[~prasanth_j] 

I looked at the new version of the code, sessionid is set to ThreadName, so you 
can print in the log. What I hope is that sessionid can be printed through the 
console when starting up the Hive Client , so that I can associate with the 
backend's logs. We are in the production environment through the scheduling 
system to schedule Hive tasks, scheduling system can only get the console log.

> 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
>         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