zoukankan      html  css  js  c++  java
  • hue的load balance

    参考:

    hue的load balance官网:

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

    HA:

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

    CDH启用hue的load balance:

    Hue-->添加角色

    选择一台做为load balance的主机

     Hue服务器可以与Load Balancers共享主机。但Hue服务器必须位于与其他Hue服务器不同的主机上.

    在hue server中再添加一台hue的主机.

    重启服务.

    通过web访问load balancer所在主机的8889端口(注意不是hue的8888端口了)

    http://192.189.142.89:8889

    一个问题:启用load balance的会话保持问题:

    源IP持久性

    如果没有IP持久性,您可能会遇到错误“ 结果已过期,如果需要,请重新运行查询。

    Hue通过“负载均衡器”向HiveServer2和Impala支持高可用性。由于底层Hue thrift库重用池中的TCP连接,因此单个用户会话可能没有相同的TCP连接。如果TCP连接与HiveServer2或Impalad实例保持平衡,则用户会话及其查询(运行或返回)可能会丢失并触发“结果已过期”错误。

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

  • 相关阅读:
    【BZOJ 2440】[中山市选2011]完全平方数
    【BZOJ 1066】[SCOI2007]蜥蜴
    luogu P1317 低洼地
    luogu P1379 八数码难题
    luogu P1886 滑动窗口
    luogu P1032 字串变换
    题解 P1876 【开灯】
    题解 P1720 【月落乌啼算钱】
    题解 P2863 【[USACO06JAN]牛的舞会The Cow Prom】
    关于线性回归
  • 原文地址:https://www.cnblogs.com/hongfeng2019/p/11440222.html
Copyright © 2011-2022 走看看