You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Karen Coppage (Jira)" <ji...@apache.org> on 2020/05/18 17:51:00 UTC

[jira] [Updated] (HIVE-22971) Eliminate file rename in insert-only compactor

     [ https://issues.apache.org/jira/browse/HIVE-22971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karen Coppage updated HIVE-22971:
---------------------------------
    Attachment: HIVE-22971.06.patch

> Eliminate file rename in insert-only compactor
> ----------------------------------------------
>
>                 Key: HIVE-22971
>                 URL: https://issues.apache.org/jira/browse/HIVE-22971
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Karen Coppage
>            Assignee: Karen Coppage
>            Priority: Major
>              Labels: ACID, compaction
>         Attachments: HIVE-22971.01.patch, HIVE-22971.02.patch, HIVE-22971.03.patch, HIVE-22971.04.patch, HIVE-22971.05.patch, HIVE-22971.06.patch
>
>
> File rename is expensive for object stores, so MM (insert-only) compaction should skip that step when committing and write directly to base_x_cZ or delta_x_y_cZ.
> This also fixes the issue that for MM QB compaction the temp tables were stored under the table directory, and these temp dirs were never cleaned up.



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