[
https://issues.apache.org/jira/browse/HIVE-4570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659856#comment-14659856
]
Amareshwari Sriramadasu commented on HIVE-4570:
-----------------------------------------------
Here is the modified thrift structure proposed :
{noformat}
struct TGetOperationStatusResp {
1: required TStatus status
2: optional TOperationState operationState
// List of statuses of sub tasks
3: optional string taskStatus
// If operationState is ERROR_STATE, then the following fields may be set
// sqlState as defined in the ISO/IEF CLI specification
4: optional string sqlState
// Internal error code
5: optional i32 errorCode
// Error message
6: optional string errorMessage
// When was the operation started
7: optional i64 operationStarted
// When was the operation completed
8: optional i64 operationCompleted
}
{noformat}
Here is few commits in forked repo in our organization, which can be picked up
as patch here :
https://github.com/inmobi/hive/commit/8eb3fd4a799157b1634876490c19061e257e83fd
https://github.com/InMobi/hive/commit/99475a9ed0dc840dd5445dcf100cd7abf322afc1
https://github.com/InMobi/hive/commit/85bf27311baaa4f83d928a39b44a1a182671b66f
> More information to user on GetOperationStatus in Hive Server2 when query is
> still executing
> --------------------------------------------------------------------------------------------
>
> Key: HIVE-4570
> URL: https://issues.apache.org/jira/browse/HIVE-4570
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Affects Versions: 0.11.0
> Reporter: Amareshwari Sriramadasu
>
> Currently in Hive Server2, when the query is still executing only the status
> is set as STILL_EXECUTING.
> This issue is to give more information to the user such as progress and
> running job handles, if possible.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)