[ https://issues.apache.org/jira/browse/HIVE-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13670583#comment-13670583 ]
Shreepadma Venugopalan commented on HIVE-4629: ---------------------------------------------- @Carl: The proposed addition to TCLIService.thrift is the following new API and structs, {noformat} // GetLog() // Fetch operation log from the server corresponding to // a particular OperationHandle. struct TGetLogReq { // Operation whose log is requested 1: required TOperationHandle operationHandle } struct TGetLogResp { 1: required TStatus status 2: required string log } service TCLIService { ... ... TGetLogResp GetLog(1:TGetLogReq req); } {noformat} > 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 > 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