当前位置: 首页 > article >正文

Hue组件相关问题-持续更新

异常信息一:

 "502 Proxy Error Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /desktop/api/search/entities."

原因:

对于 Hue Load Balancer 默认超时时间为:60s,业务执行insert sql超过了60秒

解决:

 Cloudera Manager UI, go to Hue > Configuration ->Load Balancer Advanced Configuration Snippet (Safety Valve) for httpd.conf

增加内容:

ProxyTimeout 600

参考链接:

https://my.cloudera.com/knowledge/Hue-Load-Balancer-timeout-issue-may-happen-when-exporting?id=73358

https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/troubleshooting-hue/topics/hue-502-proxy-error-lb.html

异常信息二:

Couldn't renew kerberos ticket in order to work around Kerberos 1.8.1 issue. Please check that the ticket for 'hue/mgt2.xxx.com@xxx.COM' is still renewable: $ klist -f -c /var/run/hue/hue_krb5_ccache

If the 'renew until' date is the same as the 'valid starting' date ,the ticket cannot be renewed.Please check your KDC configuration,and the ticket renewal policy(maxrenewlife) for the 'hue/mgt2.xxx.com@xxx.COM' and 'krbtgt' principals.

本次原因是因为有人更改了hosts文件:

Kerberos Ticket Renewer 实例所在节点 原有hosts域名映射:

xxxxxxx  mgt2.xxx.com

被修改成了

xxxxxxx  mgt2.xxx.com mgt2

修改回去即可

异常信息三:

hue ldap集成问题

test ldap 连接异常信息:

2024-04-24 14:38:12,350 - INFO - -----------------------

2024-04-24 14:38:13,045 - WARNING - <class 'ldap.PROTOCOL_ERROR'> {'info': 'unsupported extended operation', 'desc': 'Protocol error'}

2024-04-24 14:38:13,046 - INFO -

This is the URL to contact LDAP or AD.

Syntax: ldap://<server>:<port> or ldaps://<server>:<port>.

If port is not specified, 389 will be used for LDAP and 636 for LDAPS.

2024-04-24 14:38:13,046 - INFO -

This is only necessary if LDAP/AD does not support anonymous binds.

Typically LDAP supports anonymous binds by default and AD does not.

For AD, this should be a DN, cn=Administrator,cn=Users,dc=test,dc=com,

when using Search Bind Authentication and just the username, Administrator, when using NT Domain.

For LDAP, it needs to be a DN, cn=manager,dc=test,dc=com.

2024-04-24 14:38:13,046 - WARNING - hints: check bind_dn, bind_password and ldap_url

2024-04-24 14:38:13,047 - WARNING - ldap_url="ldap://pocdb.hadoop.shrcb:389"

2024-04-24 14:38:13,047 - WARNING - bind_dn="uid=admin,cn=users,cn=accounts,dc=hadoop,dc=com"

2024-04-24 14:38:13,385 - WARNING - ldapsearch -x -LLL -H ldap://pocdb.hadoop.shrcb:389 -D "uid=admin,cn=users,cn=accounts,dc=hadoop,dc=com" -w "********" -b ""  -s base

2024-04-24 14:38:13,385 - WARNING - LDAP Test Command failed

解决:

高级代码段中加了 use_start_tls=false参数解决了

CM自带的use_start_tls 取消勾选没有生效


http://www.kler.cn/a/385566.html

相关文章:

  • 智能电视/盒子的应用管理——通过ADB工具优化体验
  • 计算机毕业设计Python+Neo4j知识图谱医疗问答系统 大模型 机器学习 深度学习 人工智能 大数据毕业设计 Python爬虫 Python毕业设计
  • C# 委托与匿名方法
  • 6.2 对角化矩阵(2)
  • Unity3D
  • 第二天python笔记
  • 理解Rust 生命周期、所有权和借用机制
  • 运维故障与排查技巧
  • 【JavaEE进阶】导读
  • C++代码优化(二): 区分接口继承和实现继承
  • 【从零开始的LeetCode-算法】3254. 长度为 K 的子数组的能量值 I
  • linux服务器通过手机USB共享网络
  • 青少年编程与数学 02-003 Go语言网络编程 17课题、Go语言Cookie编程
  • 【HarmonyOS Next】封装一个网络请求模块
  • [vulnhub] DarkHole: 2
  • Android亮屏Job的功耗优化方案
  • django电商易购系统-计算机设计毕业源码61059
  • 阿里云ECS服务器使用限制及不允许做的事情
  • ai辅助开发一个简单的在线购物网站
  • VMware _ESXI安装初探
  • Kubernetes 调度器调度策略的资源分配不均问题如何解决?
  • 鸿蒙系统的优势 开发 环境搭建 开发小示例
  • 责任链模式(Chain of Responsibility Pattern)详解
  • 探索LINQ在C#中的应用:从基本查询到数据联接
  • 力扣第45题“跳跃游戏 II”
  • Qos基本原理+园区网络