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 flagfile from the Configuration files drop-down menu. and select
-
Set
auto_check_compaction
to true, and click Apply Changes.