You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jimmy Xiang (JIRA)" <ji...@apache.org> on 2016/02/08 23:21:39 UTC
[jira] [Created] (HIVE-13026) Pending/running operation metrics are
wrong
Jimmy Xiang created HIVE-13026:
----------------------------------
Summary: Pending/running operation metrics are wrong
Key: HIVE-13026
URL: https://issues.apache.org/jira/browse/HIVE-13026
Project: Hive
Issue Type: Bug
Reporter: Jimmy Xiang
Assignee: Jimmy Xiang
A query is finished, however the pending/running operation count doesn't decrease.
For example, in TestHs2Metrics::testMetrics(), we have
{noformat}
MetricsTestUtils.verifyMetricsJson(json, MetricsTestUtils.TIMER, "api_hs2_operation_PENDING", 1);
MetricsTestUtils.verifyMetricsJson(json, MetricsTestUtils.TIMER, "api_hs2_operation_RUNNING", 1);
MetricsTestUtils.verifyMetricsJson(json, MetricsTestUtils.COUNTER, "hs2_completed_operation_FINISHED", 1);
{noformat}
Should it be below?
{noformat}
MetricsTestUtils.verifyMetricsJson(json, MetricsTestUtils.TIMER, "api_hs2_operation_PENDING", 0);
MetricsTestUtils.verifyMetricsJson(json, MetricsTestUtils.TIMER, "api_hs2_operation_RUNNING", 0);
MetricsTestUtils.verifyMetricsJson(json, MetricsTestUtils.COUNTER, "hs2_completed_operation_FINISHED", 1);
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)