ambari安装遇到的问题

ambari 安装Hortonworks HDP 时在检测host时异常。
The following hosts have Transparent Huge Pages (THP) enabled。THP should be disabled to avoid potential Hadoop performance issues.
解决办法,linux下执行代码
echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag
echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled
echo never > /sys/kernel/mm/transparent_hugepage/enabled
echo never > /sys/kernel/mm/transparent_hugepage/defrag

Bootstrap process timed out. It will be destroyed.
这是/etc/sudoers文件中未设置免密权限
hadoop ALL=(ALL) NOPASSWD:ALL

**

ERROR 2018-02-27 16:29:23,891 NetUtil.py:93 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579) ERROR 2018-02-27 16:29:23,891 NetUtil.py:94 - SSLError: Failed to connect. Please check openssl library versions.**

1.所有节点ambari-agent.ini的[security]增加force_https_protocol
    # cd /etc/ambari-agent/conf
    # vi ambari-agent.ini
2.所有节点关闭python的安全认证
# vi /etc/python/cert-verification.cfg
verify=platform_default修改为verify=disable
3.最后,重启ambari-server服务、重启所有节点的ambari-agent服务。

你可能感兴趣的:(Hadoop)