MapReduce服务 MRS-Hue连接hiveserver,不释放session,报错over max user connections如何处理?

时间:2023-11-01 16:20:39

Hue连接hiveserver,不释放session,报错over max user connections如何处理?

适用版本:MRS 3.1.0及之前的MRS 3.x版本。

  1. 修改两个Hue节点的以下文件:

    /opt/Bigdata/FusionInsight_Porter_8.*/install/FusionInsight-Hue-*/hue/apps/beeswax/src/beeswax/models.py

  2. 修改文件中的396和404行的值

    q = self.filter(owner=user, application=application).exclude(guid='').exclude(secret='')改为q = self.filter(owner=user, application=application).exclude(guid=None).exclude(secret=None)

support.huaweicloud.com/mrs_faq/mrs_03_1214.html