hadoop about "Container does not exist."
2015-08-13 18:34
726 查看
场景描述:
hadoop集群中正在运行的任务,点击“application_1438756578740_5947”链接,然后能看到ApplicationMaters信息,有N个Node节点在运行,然后点击任一个Node的logs链接,会报错如下:“Container does not exist.”hadoop jira上貌似是2.3的一个bug,2.4fix了
added comment in ContainerLogsUtils.getContainerLogDirs() as below. "It is not required to have null check for container ( container == null ) and throw back exception.Because when container is completed, NodeManager remove container information from its NMContext.Configuring log aggregation to false, container log view request is forwarded to NM. NM does not have completed container information,but still NM serve request forreading container logs."
https://issues.apache.org/jira/browse/YARN-1206
PS: 经过测试,当我启动日志聚合功能(log aggregation to true),然后再启动 hadoop history server(端口是19888)进程,就不会再报“Container does not exist.”
之前也遇到这个问题
Failed redirect for container_1412602970010_0037_01_000002Failed while trying to construct the redirect url to the log server. Log Server url may not be configured
Container does not exist.
但在yarn-site.xml下增加如下内容:
<property> <name>yarn.log.server.url</name> <value>http://hnn002.dev.com:19888/jobhistory/logs/</value> </property>
by default logs from hdfs://user/history/* are not accessible through JobHistory server.
When I changed the permission on hdfs://user/history/
hadoop fs -chmod -R 777 /user/history/
参考链接:
https://groups.google.com/a/cloudera.org/forum/#!topic/cdh-user/HBGzj_NG9_s
https://issues.apache.org/jira/browse/YARN-1206
尊重原创,未经允许不得转载:
/article/1810554.html
相关文章推荐
- hadoop about "Container does not exist."
- hdu 1022(列车进栈出栈) Train Problem I
- Roundcube Webmail 安装配置图文详情
- LeetCode解题报告--Container With Most Water
- MFC中View类获取CMainFrame的方法
- hdu1021 Fibonacci Again
- kamailio4.2.6 安装和配置教程
- Kamailio负载均衡解决方法汇总
- hdu 4630 No Pain No Game【线段树 离线操作】
- 第十六章、Raid及mdadm命令
- Juniper Contrail SDN Joins Mirantis OpenStack Party
- Neutron OVS Bridge 连接方式 (veth pair / ovs peer) 的选型和性能测试
- AIX下查看CPU、内存信息-prtconf
- hdu 1021 Fibonacci Again(矩阵连乘 || 循环节)
- Netmask, 子网与 CIDR (Classless Interdomain Routing)
- Netmask, 子网与 CIDR (Classless Interdomain Routing)
- Hdu oj 1021 Fibonacci Again
- 如何解决failed to push some refs to git
- How Does Caching Work in AFNetworking? : AFImageCache & NSUrlCache Explained
- Integrating VMware ESXi with OpenStack & OpenContrail