[
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.4.patch
A lot of test failures may not be related. But one of them
(TestMetaStoreMetrics) is perhaps happening because its running in the same JVM
as the other Metrics test, and thus the Metrics singleton is not in a clean
state.
Explicitly reset it in the beginning of that test, and adjust the counts in the
test accordingly (if run independently, it was initialized in another place
before, which is during startMetastore).
> 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.4.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)