Before you create a Hive ACID table replication policy, you must configure the
mandatory Hive service configuration parameters.
-
Configure the event time to live (TTL) parameter to 7 days.
-
Go to the page.
-
Search for the Hive Service Advanced Configuration Snippet
(Safety Valve) for hive.site.xml property.
-
Enter the
hive.metastore.event.db.listener.timetolive
parameter and value as 1. The unit for the
parameter is days.
-
Enter the hive.repl.cm.retain parameter and
value as 1. The unit for the parameter is
days.
-
Configure the
metastore.scheduled.queries.execution.timeout
parameter to 600 seconds.
-
Configure the metastore.housekeeping.threads.on
parameter to true.
-
Restart the services after you configure the parameters.