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

hongwu resolved HAWQ-1024.
--------------------------
    Resolution: Implemented

> Rollback if hawq register failed in process
> -------------------------------------------
>
>                 Key: HAWQ-1024
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1024
>             Project: Apache HAWQ
>          Issue Type: Sub-task
>          Components: Command Line Tools
>    Affects Versions: 2.0.1.0-incubating
>            Reporter: hongwu
>            Assignee: hongwu
>             Fix For: 2.0.1.0-incubating
>
>
> Register multiple files need to be rollback when there is some error before 
> done. It’s better to check source/target files exists and permissions.
> 1. Create table.
> 2. Move files in HDFS.
> 3. Update metadata.
> When 1 fail, do nothing and catch the error.
> When 2 fail, rollback 2 partly, rollback 1.
> When 3 fail, rollback 2, rollback 1.
> Some case under --repair mode, for example delete files, can not rollback.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to