hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-17479) Staging directories do not get cleaned up for update/delete queries
Date Fri, 15 Sep 2017 21:40:00 GMT

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

Jesus Camacho Rodriguez updated HIVE-17479:
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

Fails are unrelated, pushed to master. Thanks for reviewing [~ashutoshc], [~ekoifman]

> Staging directories do not get cleaned up for update/delete queries
> -------------------------------------------------------------------
>
>                 Key: HIVE-17479
>                 URL: https://issues.apache.org/jira/browse/HIVE-17479
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 3.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17479.01.patch, HIVE-17479.02.patch, HIVE-17479.patch
>
>
> When these queries are internally rewritten, a new context is created with a new execution
id. This id is used to create the scratch directories. However, only the original context
is cleared, and thus the directories created with the original execution id.
> The solution is to pass the execution id to the new context when the queries are internally
rewritten.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message