蜂巢与Ambari没有合作HDP

时间:2018-02-01 22:54:48

标签: hadoop hive hortonworks-data-platform ambari

我已经使用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. Hive Server2:

    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 个答案:

答案 0 :(得分:0)

此问题中存在以下三个不同的问题

  1. Hiveserver2警告:以下错误表明10000上的端口machine2.ambari.local无法访问,或者端口10000上没有正在运行的进程(HiveServer2)或某些代理问题。

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

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

  3. 删除pid并终止进程后,默认情况下不会自动重启。