You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Shaohui Liu (Jira)" <ji...@apache.org> on 2020/02/06 09:18:00 UTC

[jira] [Created] (HIVE-22837) Make opertion log delay cleanup work for all operations

Shaohui Liu created HIVE-22837:
----------------------------------

             Summary: Make opertion log delay cleanup  work for all operations
                 Key: HIVE-22837
                 URL: https://issues.apache.org/jira/browse/HIVE-22837
             Project: Hive
          Issue Type: Improvement
    Affects Versions: 3.1.2
            Reporter: Shaohui Liu
            Assignee: Shaohui Liu


Currently, the operation log delay cleanup work only when a query is cancelled.

It's a very useful feature to debug the SQL through the operation log.

I think it should  be enabled for all operations
{code:java}
2020-02-06T13:30:03,537  INFO [f5a6a379-09f6-4fd8-8f1f-25034eee0ff8 HiveServer2-Handler-Pool: Thread-76] operation.Operation: Closing operation log ./operationlog/f5a6a379-09f6-4fd8-8f1f-25034eee0ff8/work_20200206133003_580d028f-0ca0-4fd6-9cc4-e56b57c29439 without delay
2020-02-06T13:30:03,537  INFO [d3f09003-5507-4dbe-a900-69f245c41fae HiveServer2-Handler-Pool: Thread-77] operation.Operation: Closing operation log ./operationlog/d3f09003-5507-4dbe-a900-69f245c41fae/work_20200206133003_5b6b405d-c0ed-4b44-aee1-d4dd4b57f8a2 without delay
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)