You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2021/03/01 08:40:00 UTC

[jira] [Comment Edited] (HIVE-24802) Show operation log at webui

    [ 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:39 AM:
-------------------------------------------------------------

{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. 


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(default) 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)