You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2018/02/07 10:14:00 UTC

[jira] [Updated] (HIVE-18637) WorkloadManagent Event Summary leaving subscribedCounters and currentCounters fields empty

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

Prasanth Jayachandran updated HIVE-18637:
-----------------------------------------
    Attachment: HIVE-18637.1.patch

> WorkloadManagent Event Summary leaving subscribedCounters and currentCounters fields empty
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-18637
>                 URL: https://issues.apache.org/jira/browse/HIVE-18637
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 3.0.0
>            Reporter: Aswathy Chellammal Sreekumar
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>         Attachments: HIVE-18637.1.patch
>
>
> subscribedCounters and currentCounters values are empty when trigger results in MOVE event
> WorkloadManager Events Summary
> {noformat}
> INFO  : {
>   "queryId" : "hive_20180205214449_d2955891-e3b2-4ac3-bca9-5d2a53feb8c0",
>   "queryStartTime" : 1517867089060,
>   "queryEndTime" : 1517867144341,
>   "queryCompleted" : true,
>   "queryWmEvents" : [ {
>     "wmTezSessionInfo" : {
>       "sessionId" : "157866e5-ed1c-4abd-9846-db76b91c1124",
>       "poolName" : "pool2",
>       "clusterPercent" : 30.0
>     },
>     "eventStartTimestamp" : 1517867094797,
>     "eventEndTimestamp" : 1517867094798,
>     "eventType" : "GET",
>     "elapsedTime" : 1
>   }, {
>     "wmTezSessionInfo" : {
>       "sessionId" : "157866e5-ed1c-4abd-9846-db76b91c1124",
>       "poolName" : "pool1",
>       "clusterPercent" : 70.0
>     },
>     "eventStartTimestamp" : 1517867139886,
>     "eventEndTimestamp" : 1517867139887,
>     "eventType" : "MOVE",
>     "elapsedTime" : 1
>   }, {
>     "wmTezSessionInfo" : {
>       "sessionId" : "157866e5-ed1c-4abd-9846-db76b91c1124",
>       "poolName" : null,
>       "clusterPercent" : 0.0
>     },
>     "eventStartTimestamp" : 1517867144360,
>     "eventEndTimestamp" : 1517867144360,
>     "eventType" : "RETURN",
>     "elapsedTime" : 0
>   } ],
>   "appliedTriggers" : [ {
>     "name" : "too_large_write_triger",
>     "expression" : {
>       "counterLimit" : {
>         "limit" : 10240,
>         "name" : "HDFS_BYTES_WRITTEN"
>       },
>       "predicate" : "GREATER_THAN"
>     },
>     "action" : {
>       "type" : "MOVE_TO_POOL",
>       "poolName" : "pool1"
>     },
>     "violationMsg" : "Trigger { name: too_large_write_triger, expression: HDFS_BYTES_WRITTEN > 10240, action: MOVE TO pool1 } violated. Current value: 5096345"
>   } ],
>   "subscribedCounters" : [ ],
>   "currentCounters" : { },
>   "elapsedTime" : 55304
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)