You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Mohit Sabharwal (JIRA)" <ji...@apache.org> on 2014/10/23 08:34:33 UTC

[jira] [Commented] (HIVE-8568) Add HS2 API to fetch Job IDs for a given query

    [ https://issues.apache.org/jira/browse/HIVE-8568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181065#comment-14181065 ] 

Mohit Sabharwal commented on HIVE-8568:
---------------------------------------

Attached patch adds a Thrift call to fetch Job IDs corresponding to all  running MR tasks. The response includes a list of job IDs and an enum indicating the execution engine. Throws an exception if no jobIDs were fetched. 

The client may need to make the call multiple times since the jobs may not have started running. 

Currently only returns MR job IDs. Support for Tez job IDs is left as a todo item for a future commit.

> Add HS2 API to fetch Job IDs for a given query
> ----------------------------------------------
>
>                 Key: HIVE-8568
>                 URL: https://issues.apache.org/jira/browse/HIVE-8568
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Mohit Sabharwal
>            Assignee: Mohit Sabharwal
>         Attachments: HIVE-8568.patch
>
>
> Fetching Job IDs corresponding to all running MR/Tez tasks is useful for clients like Hue. 



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