[
https://issues.apache.org/jira/browse/HIVE-24802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17289428#comment-17289428
]
Zhihua Deng edited comment on HIVE-24802 at 3/1/21, 8:53 AM:
-------------------------------------------------------------
The operation log is deleted at once on operation closing(except for canceling
operation), so there probably have no chance to get the operation log after
operation finished/failed except searching through the whole log file. It
sometimes becomes a problem for async operations and parallel executing tasks.
In order to get the log of a finished/failed query for diagnosing, maybe we
should keep the operation log alone for some time after the query is finished.
was (Author: dengzh):
{quote}I would rather implement something like HIVE-24574.
{quote}
The operation log is deleted at once on operation closing(except for canceling
operation), so there probably have no chance to get the operation log except
searching through the whole log file(for async and parallel running tasks, it
sometimes becomes a problem). In order to get the log of a finished/failed
query for diagnosing, maybe we should keep the operation log alone for some
time after the query is finished.
> Show operation log at webui
> ---------------------------
>
> Key: HIVE-24802
> URL: https://issues.apache.org/jira/browse/HIVE-24802
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Minor
> Labels: pull-request-available
> Attachments: operationlog.png
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Currently we provide getQueryLog in HiveStatement to fetch the operation log,
> and the operation log would be deleted on operation closing(delay for the
> canceled operation). Sometimes it's would be not easy for the user(jdbc) or
> administrators to deep into the details of the finished(failed) operation, so
> we present the operation log on webui and keep the operation log for some
> time for latter analysis.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)