Ambari 安装agent失败解决
来源:互联网 发布:网络教育的在职研究生 编辑:程序博客网 时间:2024/06/01 09:15
1.问题描述:
Ambari 安装agent失败,通过ambari-server.log发现如下信息:1. error: 12 Jun 2017 18:11:26,144 ERROR [qtp-ambari-client-87] 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)
2. error: 12 Jun 2017 18:11:26,150 ERROR [qtp-ambari-client-87] BaseManagementHandler:57 - Caught a system exception while attempting to create a resource: An internal system exception occurred: Host not found, hostname=
org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Host not found, hostname=
3.warn:
12 Jun 2017 18:04:44,108 WARN [main] AmbariServer:622 - The configured Jetty qtp-ambari-agent thread pool value of 25 is not sufficient on a host with 80 processors. Increasing the value to 40.
在具有80个处理器的主机上,配置的Jetty qtp-ambari-agent线程池值为25是不够的。将值增加到40
4.warn:
WARNING: The following warnings have been detected with resource and/or provider classes:
WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.ambari.server.api.services.FeedService.getFeeds(java.lang.String,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo), should not consume any entity.
WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.ambari.server.api.services.FeedService.getFeed(java.lang.String,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String), should not consume any entity.
WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.ambari.server.api.services.KerberosDescriptorService.getKerberosDescriptors(java.lang.String,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo), should not consume any entity.
WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.ambari.server.api.services.KerberosDescriptorService.getKerberosDescriptor(java.lang.String,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo,java.lang.String), should not consume any entity.
2.问题原因:
如果服务器的CPU数量超过Jetty线程数量,Ambari Server将不会响应HTTP连接
1.修改文件:/etc/ambari-server/conf/ambari.properties,将以下参数设置为cpu的核数
agent.threadpool.size.max=<number of cores>
view.extraction.threadpool.size.max=<number of cores>
client.threadpool.size.max=<number of cores>
2.ambari-server restart
参考:
https://issues.apache.org/jira/browse/AMBARI-5639
https://community.hortonworks.com/questions/4584/could-not-connect-to-ambari-log-on-screen.html
https://issues.apache.org/jira/browse/AMBARI-9776
https://www.ibm.com/support/knowledgecenter/en/SSPT3X_4.3.0/com.ibm.swg.im.infosphere.biginsights.trb.doc/doc/trb_inst_ambariProperties.html
阅读全文
0 0
- Ambari 安装agent失败解决
- Ambari Server安装失败解决
- Centos 6.7下ambari agent 注册失败
- HDP之离线安装ambari-agent
- Ambari安装时报:Ambari agent machine hostname (localhost.localdomain) does not match expected ambari serv
- 安装ambari出错:ImportError: No module named _ssl,ambari-agent启动不了
- 【Ambari】Agent总体概览
- Ambari Agent源码梳理
- ambari-agent启动报错
- Ambari-server-agent交互分析
- Ambari安装
- Ambari安装
- ambari安装
- 安装Ambari
- 安装ambari
- Ambari安装
- Ambari安装
- Ambari安装
- geoserver的rest服务介绍,搭建java程序
- geoserver 问题解决
- geoserver 的缓存技术
- linux的命令操作
- restful发布服务
- Ambari 安装agent失败解决
- geoserver 通过代码实现发布地图服务
- mapping 映射
- 三维dem
- unity 安卓应用名称多语言本地化
- 剑指offer:(23)举例让抽象问题具体化 :从上往下打印二叉树
- geoserver中除了使用kml来查询数据以外,还可以使用csql或ecsql
- PM2管理nodejs
- Android Tv 焦点总结 TvRecyclerView