Advanced Hive configuration parameters for Hive ACID table replication policies
You can configure the additional Hive service configuration parameters as necessary.
-
Configure the event time to live (TTL) parameter to 7 days in the Hive-on-Tez
service
- Go to the Cloudera Manager > Clusters > Hive-on-Tez service > Configuration 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 7. The unit for the parameter is days.
-
Enter the hive.repl.cm.retain parameter, and the
value as 7d.
7d
indicates seven days.
-
Configure the event time to live (TTL) parameter to 7 days in the Hive service.
- Go to the Cloudera Manager > Clusters > Hive service > Configuration 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 7. The unit for the parameter is days.
-
Enter the hive.repl.cm.retain parameter, and the
value as 7d.
7d
indicates seven 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.