[
https://issues.apache.org/jira/browse/HIVE-23722?focusedWorklogId=448524&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-448524
]
ASF GitHub Bot logged work on HIVE-23722:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Jun/20 14:55
Start Date: 19/Jun/20 14:55
Worklog Time Spent: 10m
Work Description: dengzhhu653 commented on a change in pull request #1145:
URL: https://github.com/apache/hive/pull/1145#discussion_r442887474
##########
File path:
service/src/java/org/apache/hive/service/cli/thrift/ThriftCLIService.java
##########
@@ -569,7 +569,19 @@ public TExecuteStatementResp
ExecuteStatement(TExecuteStatementReq req) throws T
queryTimeout) : cliService.executeStatement(sessionHandle,
statement, confOverlay,
queryTimeout);
resp.setOperationHandle(operationHandle.toTOperationHandle());
- resp.setStatus(OK_STATUS);
+ Operation operation =
cliService.getSessionManager().getOperationManager()
+ .getOperation(operationHandle);
+ if (operation.showOperationDrilldownLink() &&
cliService.getHiveServer2().getWebServerUrl() != null) {
Review comment:
CliService defines the executeStatement returning OperationHandle, which
has little relationship with thrift interface/definition. It's may not nice to
wrap the thrift message here. Thanks for the review, @kgyrtkirk!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 448524)
Time Spent: 50m (was: 40m)
> Show the operation's drilldown link to client
> ---------------------------------------------
>
> Key: HIVE-23722
> URL: https://issues.apache.org/jira/browse/HIVE-23722
> Project: Hive
> Issue Type: Improvement
> Reporter: Zhihua Deng
> Priority: Major
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Now the HiveServer2 webui provides a drilldown link for many collected
> metrics or messages about a operation, but it's not easy for a end user to
> find the target url of his submitted query. Less knowledge on the deployment,
> HA based environment, and the multiple running queries can make things more
> difficult. The jira provides a way to show the link to the interested end
> user when enabled.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)