Eugene Koifman created HIVE-17547: ------------------------------------- Summary: MoveTask for Acid tables race condition Key: HIVE-17547 URL: https://issues.apache.org/jira/browse/HIVE-17547 Project: Hive Issue Type: Bug Components: Transactions Affects Versions: 1.0.0 Reporter: Eugene Koifman Assignee: Eugene Koifman
Consider Hive.moveAcidFiles() it starts out with something like {noformat} └── -ext-10000 │ └── 000000_0 │ ├── _orc_acid_version │ └── delta_0000019_0000019 │ └── bucket_00000 │ └── 000000_1 │ ├── _orc_acid_version │ └── delta_0000019_0000019 │ └── bucket_00001 {noformat} for a write to a bucketed table. The "move" handles each 000000_N separately. The first on creates delta_0000019_0000019 under the table/partition dir, the others just add bucket_0000N there. That means there is a small window where someone may "ls table/part/delta_0000019_0000019" and not see all the buckets. -- This message was sent by Atlassian JIRA (v6.4.14#64029)