[ https://issues.apache.org/jira/browse/HIVE-21380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16786144#comment-16786144 ]
Prasanth Jayachandran edited comment on HIVE-21380 at 3/6/19 9:25 PM: ---------------------------------------------------------------------- There is a mx bean that is exposed via metrics endpoint that prints the sessions running in the pool. It should be easy to enhance that to add session.getQueryId() here [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/WorkloadManager.java#L753] was (Author: prasanth_j): The is mx bean that is exposed via metrics endpoint that prints the sessions running in the pool. It should be easy to enhance that to add session.getQueryId() here [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/WorkloadManager.java#L753] > No documented command to list queries in a Hive Workload resource pool > ---------------------------------------------------------------------- > > Key: HIVE-21380 > URL: https://issues.apache.org/jira/browse/HIVE-21380 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 3.1.0 > Environment: Kerberos, Ranger > Reporter: Michael DeGuzis > Priority: Major > > We have searched all over > https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/hive-workload/content/hive_workload_management_entity_data_in_sys.html > and even the Apache hive code base. How do you monitor what queries are > running in what resource pool??? -- This message was sent by Atlassian JIRA (v7.6.3#76005)