hue的load balance

reference:

hue of load balance the official website:

https://www.cloudera.com/documentation/enterprise/6/6.2/topics/hue_use_add_lb.html

HE HAS:

https://www.cloudera.com/documentation/enterprise/6/6.2/topics/hue_sec_ha.html

 

CDH enable load balance hue of:

Hue -> Add Role

 

Select a host as a load balance of

 Hue host server can be shared with Load Balancers. But Hue server must be on a server with other Hue different hosts.

Add another hue in the hue server host in.

Restart the service.

8889 web access port of the host where the load balancer through (note not the hue of the port 8888)

http://192.189.142.89:8889

 

 

A problem: Enable load balance session persistence issues:

Source IP persistence

If there is no IP persistence, you may encounter the error "  results have expired, if necessary, re-run the query.

Hue HiveServer2 to support high availability and Impala through the "load balancer." As the underlying Hue thrift reuse library pool TCP connection , a single user session may not the same TCP connection. If the TCP connection with the HiveServer2 or Impalad instance to maintain a balance, the user session and query (running or return) may be lost and triggers "have expired" error.

https://www.cloudera.com/documentation/enterprise/6/6.2/topics/hue_sec_ha.html

 

Guess you like

Origin www.cnblogs.com/hongfeng2019/p/11440222.html