diff --git a/tdp_vars_defaults/hive/hive_metastore.yml b/tdp_vars_defaults/hive/hive_metastore.yml index 3ed977c6..8dd08c44 100644 --- a/tdp_vars_defaults/hive/hive_metastore.yml +++ b/tdp_vars_defaults/hive/hive_metastore.yml @@ -6,5 +6,10 @@ hive_ms_credentials_store_path: "{{ hive_ms_conf_dir }}/hive.jceks" hive_ms_credentials_store_uri: localjceks://file{{ hive_ms_credentials_store_path }} +# Hive Transactions variables +hive_transactions_enabled: false +compaction_enabled: "{{ hive_transactions_enabled }}" + hive_site: hadoop.security.credential.provider.path: "{{ hive_ms_credentials_store_uri }}" + hive.compactor.initiator.on: "{{ compaction_enabled and (inventory_hostname == groups['hive_ms'][0]) | string | lower }}" \ No newline at end of file