hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Gangam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-14267) HS2 open_operations metrics not decremented when an operation gets timed out
Date Mon, 18 Jul 2016 19:02:20 GMT

     [ https://issues.apache.org/jira/browse/HIVE-14267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Naveen Gangam updated HIVE-14267:
---------------------------------
    Attachment: HIVE-14267.patch

When operations are timed out, the metric open_operations does not get decremented. 
The attached patch decrements the counter in HiveSessionImpl.closeTimedOutOperations(). 

I have also verified that the operations are being decremented when the sessions are timed
out (idle session timeout value < idle operation timeout value) and when timed-out sessions
are closed.

 

> HS2 open_operations metrics not decremented when an operation gets timed out
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-14267
>                 URL: https://issues.apache.org/jira/browse/HIVE-14267
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: David Karoly
>            Assignee: Naveen Gangam
>            Priority: Minor
>         Attachments: HIVE-14267.patch
>
>
> When an operation gets timed out, it is removed from handleToOperation hash map in OperationManager.removeTimedOutOperation().
However OPEN_OPERATIONS counter is not decremented. 
> This can result in an inaccurate open operations metrics value being reported. Especially
when submitting queries to Hive from Hue with close_queries=false option, this results in
misleading HS2 metrics charts.



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

Mime
View raw message