gpt4 book ai didi

hadoop - 配置单元不与 Ambari 一起使用 HDP

转载 作者:可可西里 更新时间:2023-11-01 15:51:48 29 4
gpt4 key购买 nike

我已经用 Ambari 2.6.1 安装了 HDP。它主要自动完成所有操作,但 Hive 无法正常启动。

我在某处看到一个帖子,我删除了 pid 并终止了进程,希望我能重新启动它并且它能正常工作,但现在它显示机器上的心跳丢失。

请指导我该怎么做?

我列出了我从 ambari 得到的错误。

1.Hive Metastore:

    Metastore on machine2.ambari.local failed (Traceback (mos&1| awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL'' returned 1. Error: Could not open client transport with JDBC Uri: jdbc:hive2://machine2.ambari.local:10000/;transportMode=binary: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0) Error: Could not open client transport with JDBC Uri: jdbc:hive2://machine2.ambari.local:10000/;transportMode=binary: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0) )" data-bindattr-40693="40693"> Connection failed on host machine2.ambari.local:10000 (Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_thrift_port.py", line 212, in execute ldap_password=ldap_password) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/hive_check.py", line 81, in check_thrift_port_sasl timeou... t recent call last): File "/var/lib/ambari-agent/cache/common-servics/HIVE/0.12.0.2.0/package/alerts/alert_hive_metastore.py", line 203, in execute timeout_kill_strategy=TerminateStrategy.KILL_PROCESS_TREE, File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 166, in __init__ self.env.run() File "/
  1. 配置单元服务器 2:

    awk '{print}'|grep -i -e 'Connection refused' -e 'Invalid URL'' returned 1. Error: Could not open client transport with JDBC Uri: jdbc:hive2://machine2.ambari.local:10000/;transportMode=binary: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0) Error: Could not open client transport with JDBC Uri: jdbc:hive2://machine2.ambari.local:10000/;transportMode=binary: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0) )" data-bindattr-40693="40693"> Connection failed on host machine2.ambari.local:10000 (Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/alerts/alert_hive_thrift_port.py", line 212, in execute ldap_password=ldap_password) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/hive_check.py", line 81, in check_thrift_port_sasl timeou... 

最佳答案

这个问题有以下三个不同的问题

  1. Hiveserver2 警报:以下错误指示端口 10000machine2.ambari.local无法访问,或者没有进程 (HiveServer2) 在端口 10000 上运行或一些代理问题。

    错误:无法使用 JDBC Uri 打开客户端传输:jdbc:hive2://machine2.ambari.local:10000/;transportMode=binary: java.net.ConnectException: Connection refused(连接被拒绝)

  2. 心跳丢失:问题中提到“机器上的心跳丢失”,这可能是因为 ambari-agent进程不再在通知心跳丢失的主机上运行。

  3. 删除pid杀掉进程后,默认不会自动重启。

关于hadoop - 配置单元不与 Ambari 一起使用 HDP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48573084/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com