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

Jaideep Dhok commented on HIVE-5924:
------------------------------------

[~vgumashta] Thanks for looking at the issue. 

bq. 1. Would enabling the per session/operation log config mean that there will 
be no consolidated log?
HiveServer2 logs like session open, session close etc will continue to be 
consolidated. Only the query logs like job client logs, driver or task logs 
will be redirected. Turning off the log redirection would again consolidate 
everything into a single log file as is done currently.

bq. I'd be curious to hear what your method of detecting abandoned sessions is.
For detecting abandoned sessions w.r.t. log purging, I can check the last 
modified time of an operation log file. If that is older than a configured 
value, we can close the session.

> Save operation logs in per operation directories in HiveServer2
> ---------------------------------------------------------------
>
>                 Key: HIVE-5924
>                 URL: https://issues.apache.org/jira/browse/HIVE-5924
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>    Affects Versions: 0.13.0
>            Reporter: Jaideep Dhok
>            Assignee: Jaideep Dhok
>




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to