Automating metadata invalidation after compaction
As you insert or delete data from Hive ACID tables, Hive generates delta files. The compaction process consolidates the delta files and keeps the system healthy. If you query Hive ACID tables from an Impala Virtual Warehouse, you need to learn how to automatically invalidate metadata after compaction to prevent a possible query failure.
- In Cloudera Data Warehouse, click Overview.
- In an Impala Virtual Warehouse, click .
- Go to and select flagfile from the Configuration files drop-down menu.
-
Set
auto_check_compactionto true, and click Apply Changes.
