You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gunther Hagleitner (JIRA)" <ji...@apache.org> on 2015/02/13 02:09:11 UTC

[jira] [Commented] (HIVE-9673) Set operationhandle in ATS entities for lookups

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

Gunther Hagleitner commented on HIVE-9673:
------------------------------------------

Looks good - but how do you know that none of the following objs are going to be null (handle/id/...)?

{noformat}
+      String guid64 = Base64.encodeBase64URLSafeString(getHandle().getHandleIdentifier()
+          .toTHandleIdentifier().getGuid()).trim();
{noformat}

> Set operationhandle in ATS entities for lookups
> -----------------------------------------------
>
>                 Key: HIVE-9673
>                 URL: https://issues.apache.org/jira/browse/HIVE-9673
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-9673.1.patch, HIVE-9673.2.patch
>
>
> Yarn App Timeline Server (ATS) users can find their query using hive query-id.
> However, query id is available only through the logs at the moment.
> Thrift api users such as Hue have another unique id for queries, which the operation handle contains (TExecuteStatementResp.TOperationHandle.THandleIdentifier.guid) . Adding the operationhandle guid to ATS will enable such thrift users to get information from ATS for the queries that they have spawned.



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