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

Shreepadma Venugopalan commented on HIVE-4629:
----------------------------------------------

* Operation logs don't persist beyond the life of an operation. If 
getLog(opHandle) is called after a CloseOperation() or CancelOperation(), an 
exception is raised. 

* If getLog() is called on the same operationHandle twice, the log up to the 
point will be returned. Note that the log is maintained as a circular buffer 
and loops back. The default size is 128 KB, but is configurable. We have not 
come across a case where 128 KB was insufficient. 

                
> HS2 should support an API to retrieve query logs
> ------------------------------------------------
>
>                 Key: HIVE-4629
>                 URL: https://issues.apache.org/jira/browse/HIVE-4629
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2
>            Reporter: Shreepadma Venugopalan
>            Assignee: Shreepadma Venugopalan
>
> HiveServer2 should support an API to retrieve query logs. This is 
> particularly relevant because HiveServer2 supports async execution but 
> doesn't provide a way to report progress. Providing an API to retrieve query 
> logs will help report progress to the client.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to