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

Aihua Xu commented on HIVE-13410:
---------------------------------

The perflogger is per session and we are not tracking for each query, right? 
I'm wondering if it makes sense to close them when close session. 

> PerfLog metrics scopes not closed if there are exceptions on HS2
> ----------------------------------------------------------------
>
>                 Key: HIVE-13410
>                 URL: https://issues.apache.org/jira/browse/HIVE-13410
>             Project: Hive
>          Issue Type: Bug
>          Components: Diagnosability
>    Affects Versions: 2.0.0
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>         Attachments: HIVE-13410.patch
>
>
> If there are errors, the HS2 PerfLog api scopes are not closed.  Then there 
> are sometimes messages like 'java.io.IOException: Scope named api_parse is 
> not closed, cannot be opened.'
> I had simply forgetting to close the dangling scopes if there is an 
> exception.  Doing so now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to