开发者社区> 问答> 正文

CentOS7用ambari2.2.1.0部署HDP2.4报错?报错

最近在CentOS7上部署HDP,按照官方文档的说明,利用Ambari2.2.1.0进行部署。
但是在安装完Ambari Server后,在Ambari控制台“Confirm Hosts”这一节点报错。
Ambari Agent向Ambari Server注册时失败。下面贴出日志,求各位大神指点~

Agent端日志:

INFO 2016-04-05 10:31:30,106 hostname.py:89 - Read public hostname 'slavenode1.hdp' using socket.getfqdn()
ERROR 2016-04-05 10:31:30,111 main.py:309 - Fatal exception occurred:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 306, in <module>
    main(heartbeat_stop_callback)
  File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 297, in main
    ExitHelper.execute_cleanup()
TypeError: unbound method execute_cleanup() must be called with ExitHelper instance as first argument (got nothing instead)
', None)

Server端日志:

01 四月 2016 20:19:53,480 ERROR [qtp-ambari-client-23] AbstractResourceProvider:280 - Caught AmbariException when creating a resource
org.apache.ambari.server.HostNotFoundException: Host not found, hostname=

at org.apache.ambari.server.state.cluster.ClustersImpl.getHost(ClustersImpl.java:370)
at org.apache.ambari.server.state.ConfigHelper.getEffectiveDesiredTags(ConfigHelper.java:107)
at org.apache.ambari.server.controller.AmbariManagementControllerImpl.findConfigurationTagsWithOverrides(AmbariManagementControllerImpl.java:1876)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:37)
………………………………………………………………

展开
收起
爱吃鱼的程序员 2020-06-09 16:08:38 394 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    請問解決沒?我也遇到了....解决了。之前安装CentOS时选择的语言是中文,然后就一直出现这个问题解决不掉。后来重装系统选择了英文,就没再出现这个问题了。。还没有~你的日志跟我的一样的吗?看样子是中文问题,我的server是Ubuntu中文也是同样的问题刚Ubuntu语言设置都换成英文,还是失败了。。,不想重装哎。。。果断换英文,哈哈

    2020-06-09 16:08:54
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载
阿里云Elasticsearch2.0发布 立即下载