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

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

相关文章:

csv - Phoenix 通过上传批量csv文件的命令不明白吗?

java - 如何将第三方 jar 添加到 mapreduce 作业?

python - 在python中更改用户

hadoop - Hive:在 unicode csv 文件上创建表

java - spark SAVEASTEXTfile需要很多时间-1.6.3

hadoop - 配置单元插入覆盖目录仅覆盖生成文件的直接路径而不是目录

date - 无法创建Hive唯一分区

hive - hive 中的授予权限在 hdp2.2 上不起作用

string - 使用 Hortonworks hadoop hive 聚合字符串

hadoop - Hive CLI 无法从另一个表创建表