[ https://issues.apache.org/jira/browse/HIVE-13410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15224082#comment-15224082 ]
Aihua Xu commented on HIVE-13410: --------------------------------- [~szehon] Thanks for the explanation. So we would have issue if multiple queries are running in parallel but that is an existing problem with the parallel query execution? +1 on the new patch. > 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.2.patch, 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)