离线安装ambari
地址:https://blog.csdn.net/Happy_Sunshine_Boy/article/details/86595945
1、不能启动服务“REASON: Server not yet listening on http port 8080 after 50 seconds. Exiting.”
修改配置文件/etc/ambari-server/conf/ambari.properties
server.jdbc.hostname=hadoop01
server.jdbc.rca.url=jdbc:mysql://hadoop01:3306/ambari
server.jdbc.url=jdbc:mysql://hadoop01:3306/ambari
以上三个参数修改为:
server.jdbc.hostname=localhost
server.jdbc.rca.url=jdbc:mysql://localhost:3306/ambari
server.jdbc.url=jdbc:mysql://localhost:3306/ambari
2、在确认主机时出现错误
查看文件:tail /var/log/ambari-agent/ambari-agent.log
INFO 2020-06-20 11:33:22,053 hostname.py:67 - agent:hostname_script configuration not defined thus read hostname 'hostdomain01' using socket.getfqdn().
ERROR 2020-06-20 11:33:22,053 main.py:269 - Ambari