hdpFAQ

 HDP安装参考:https://www.cnblogs.com/bigdatasafe/p/10343022.html

      http://www.mamicode.com/info-detail-2310550.html

ambari部署HDP问题

Please check openssl library versions

ERROR 2015-09-23 09:47:07,402 NetUtil.py:77 - [Errno 8] _ssl.c:492: EOF occurred in violation of protocol
ERROR 2015-09-23 09:47:07,402 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions.
1.查看openssl版本
如果低于openssl-1.0.1e-16.el6.x86_64版本,则需要更新到openssl-1.0.1e-16.el6.x86_64及以上版本
rpm -qa | grep openssl
 
2.查看Python版本
如果低于Python2.7版本,则升级Python到2.7及以上版本
python -V
 
3.编辑cert-verification.cf配置文件
vim /etc/python/cert-verification.cfg
[https]
verify=disable
4.在所有AGENT节点修改ambari-agent.ini配置文件
vim /etc/ambari-agent/conf/ambari-agent.ini
[security]
ssl_verify_cert=0
force_https_protocol=PROTOCOL_TLSv1_2
5.重启ambari-agent
ambari-agent restart
 

如果之后还报错(找不到属性PROTOCOL_TLSv1_2)

各节点执行:/usr/bin/yum install python-setuptools python-devel -y

还不行继续执行

wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py

pip install psutil

 软件包与预期下载的不符 

rm -f /var/lib/rpm/__*
rpm --rebuilddb -v -v
 
yum clean dbcache
yum clean metadata
yum clean rpmdb
yum clean headers
yum clean all
rm -rf /var/cache/yum/timedhosts.txt
rm -rf /var/cache/yum/*
yum makecache

 

 

ambari安装服务报错

安装hive客户端报错

  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 303, in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'ambari-python-wrap /usr/bin/hdp-select set hive-client 2.6.5.0-292' returned 1. symlink target /usr/hdp/current/hive-client for hive already exists and it is not a symlink.

解决:

1.删除/usr/hdp/current/hive-client

2.执行脚本ambari-python-wrap /usr/bin/hdp-select set hive-client 2.6.5.0-292

3.最后重新在前台管理界面进行重试安装

 

posted @ 2020-05-28 11:22  鱼丸河粉  阅读(172)  评论(0编辑  收藏  举报