Ambari部署HDP出现的问题总结

此问题是在安装第二步,注册主机时遇到的

error:100AE081:elliptic curve routines:EC_GROUP_new_by_curve_name:unknown group

ERROR 2015-02-06 20:10:20,023 NetUtil.py:58 - SSLError: Failed to connect. Please check openssl library versions.

Connection to Slave5.domain.dev closed.

SSH command execution finished

host=Slave5.domain.dev, exitcode=0

Command end time 2015-02-06 12:07:47

 

解决办法:

rpm -qa | grep openssl

yum upgrade openssl

rpm -qa | grep openssl

 

在安装到倒数第二步“Install, Start and Test”时,一直安装不成功,提示[Errno 256] No more mirrors to try

解决办法:

yum clean all

yum makecache

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 2: ordinal not in range(128)  

Python中使用中文字符串报错,解决方案: 

在出现问题的页加上如下三行即可:
import sys
reload(sys)
sys.setdefaultencoding('utf-8')

 

问题: [root@cddserver2 ~]# yum -y install gcc-* Loaded plugins: fastestmirror, presto Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again

 原因:  dns服务器没有配置正确  

 解决办法:
 1、打开文件/etc/resolv.conf在其中添加:  nameserver 8.8.8.8    
 2、然后重启网卡:使用命令: service network restart

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值