Support Questions

Find answers, ask questions, and share your expertise

What happens when a hive partition is queried at a same time when a compaction(major/minor) is in progress in HDP 2.5? Would the query fail?

avatar
Rising Star
 
1 ACCEPTED SOLUTION

avatar
Expert Contributor

Nope - compaction retains old files until all readers are out.

The implementation has ACID isolation levels - you could start a query and then do "delete from table" & still get no errors on the query which is already in motion.

View solution in original post

1 REPLY 1

avatar
Expert Contributor

Nope - compaction retains old files until all readers are out.

The implementation has ACID isolation levels - you could start a query and then do "delete from table" & still get no errors on the query which is already in motion.