[ https://issues.apache.org/jira/browse/HIVE-13410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Szehon Ho updated HIVE-13410: ----------------------------- Attachment: HIVE-13410.patch Good point! Today I could not find any perfLogging happening during parallel task execution phase but it is very possible in future. The perf-logger is thread-local, made a fix so that each perf-logger keeps track of its own scope and its lifecycle. > 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.3.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)