I have installed Impala with Llama HA in my environment
. When I sequentially start Llama HA and Impala,Llama HA start successfully
,but Impalad services did not start correctly and exiting due to failed to (re-)register Resource Broker with Llama.
After checking log files of Llama and Impalad service, I find the reason is that llama_registration_timeout_secs of Impalad, which means maximum number of seconds that Impala will attempt to (re-)register with Llama before aborting the triggering action with an error, 30 seconds is less than Llama election time-consuming which is more than one minute. So Impalad can't register with any Llama and exit before Llama become active.
We should enlarge llama_registration_timeout_secs of Impalad to 300 seconds or other value big enough to insure Impalad service starting correctly.