Load balancing for coordinators
Cloudera recommends setting up a load balancer for incoming connections to Impala.
The rule of thumb for load balancer configurations are as follows:
- Always configure your load balancer to use balance source, which uses the source IP address, to ensure that connections from one client are always routed to the same coordinator node.
- The load balancer timeout should be set to a value that is greater than
the Impala idle session timeout. For example, if you are using HaProxy
and set it up with a timeout of 5 minutes using
timeout server 300s, ensure that the Impala idle timeout is set to less than 300 seconds.