Cloudera Impala active/backup setup with Haproxy - facing issues

Hi guys
So we have an Impala setup in one of the production clusters and in order to build HA for the same , we are using haproxy . As you might know Impala is currently not supporting any retry mechanism for failover of coordinators , that’s why we are trying to use the below feature .


Load balancing is working as desired by the way .

However , after putting these configs in , we are facing issues in starting impala shell itself.
Can someone who has worked on Impala HA with haproxy help ?