Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
2.1.0.0-incubating
-
None
Description
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.