Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solved
Go to solution
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?
Labels:
- Labels:
-
Apache Hive
Rising Star
Created ‎01-10-2017 10:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1 ACCEPTED SOLUTION
Expert Contributor
Created ‎01-10-2017 10:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
1 REPLY 1
Expert Contributor
Created ‎01-10-2017 10:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
