hive不能与ambari的hdp一起使用

vom3gejh  于 2021-05-29  发布在  Hadoop
关注(0)|答案(1)|浏览(613)

我已经用ambari 2.6.1安装了hdp。它几乎所有的事情都是自动完成的,但是Hive无法正常启动。
我在某个地方看到一个帖子,我删除了pid并终止了进程,希望我能重新启动它,它会工作,但现在它显示心跳丢失在机器上。
请指导我该怎么做?
我列出了我从Ambari那里得到的错误。
1.配置单元元存储:

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 "/

配置单元服务器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...
c3frrgcw

c3frrgcw1#

在这个问题上有以下三个不同的问题
hiveserver2警报:以下错误指示端口 10000machine2.ambari.local 无法访问,或者端口上没有进程(hiveserver2)正在运行 10000 或者代理问题。
错误:无法使用jdbc uri打开客户端传输:jdbc:hive2网址:machine2.ambari。local:10000/;transportmode=binary:java.net.connectexception:连接被拒绝(连接被拒绝)
心跳丢失:有人提到“心跳在机器上丢失”,这可能是因为 ambari-agent 进程不再在通知心跳丢失的主机上运行。
删除pid并终止进程后,默认情况下它不会自动重新启动。

相关问题