You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2018/08/24 23:58:00 UTC

[jira] [Assigned] (HIVE-20460) AcidUtils.Directory.getAbortedDirectories() may be missed for full CRUD tables

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

Eugene Koifman reassigned HIVE-20460:
-------------------------------------


> AcidUtils.Directory.getAbortedDirectories() may be missed for full CRUD tables
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-20460
>                 URL: https://issues.apache.org/jira/browse/HIVE-20460
>             Project: Hive
>          Issue Type: Improvement
>          Components: Transactions
>    Affects Versions: 3.0.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>            Priority: Major
>
> {{Directory.getAbortedDirectories()}} lists deltas where all txns in the range are aborted.
> These are then purged by {{Worker}} (\{{CompactorMR}} but only for insert-only tables.
> Full CRUD tables currently rely on {{FileSystem.rename()}} in {{MoveTask}} and so no reader (or {{Cleaner}} should every see a delta where all data is aborted.  
>  
> Once rename() is eliminated for full CRUD (just like insert-only) transactional tables, Cleaner (or Worker) should take care of these.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)