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/17 01:03:00 UTC

[jira] [Updated] (HIVE-20410) aborted Insert Overwrite on transactional table causes "Not enough history available for..." error

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

Eugene Koifman updated HIVE-20410:
----------------------------------
    Attachment: HIVE-20410.01.patch

> aborted Insert Overwrite on transactional table causes "Not enough history available for..." error
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-20410
>                 URL: https://issues.apache.org/jira/browse/HIVE-20410
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 3.0.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>            Priority: Major
>         Attachments: HIVE-20410.01.patch
>
>
> suppose 
> insert overwrite T values(1)
> is aborted.
> this creates a base_x directory (for insert-only transactional tables currently and for full CRUD once 'rename' in the MoveTask is eliminated) but subsequent read fails with "Not enough history available for..." error.
> The problem is that the logic to produce this exception finds this base_x but treats it as if it was produced by a compactor, in which case the error would'v been appropriate.



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