03-06-2017 06:45 AM
We are using HAProxy as Load balancer for Impala as recommended by https://www.cloudera.com/documentation/enterprise/5-9-x/topics/impala_proxy.html#proxy_overview
But we'd like to see the original IP address of the client connecting (in the Network Address attribute - see https://www.cloudera.com/documentation/enterprise/5-6-x/topics/cm_dg_impala_queries.html)
But we get the IP of the HAproxy.
One solution was using Proxy Protocol :
But it appears that Impala Deamon (Server) is not compatible with it. Can you recommend other solution to the problem? Or are there plans to make impalad compatible with Proxy Protocol
03-07-2017 08:46 AM
03-10-2017 09:30 AM
To clarify, the proxy protocol is not HTTP related. IT works on TCP level (http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt) but it does require that client and server be compatible with it.