Failed to fetch all URIs for container
2015-11-30 16:26
821 查看
在重新搭建hadoop on mesos的时候。
运行wordcount进行实验,发现在master上的task很顺利,但是在slave上的task都FAILED了。
查看slave上mesos的log,可以看到错误信息:
E1130 15:37:54.397516 157992 fetcher.cpp:515] Failed to run mesos-fetcher: Failed to fetch all URIs for container '2f6046b6-97af-4ce0-abed-8cba9e4b397a' with exit status: 256
E1130 15:37:54.398478 157981 slave.cpp:3342] Container '2f6046b6-97af-4ce0-abed-8cba9e4b397a' for executor 'executor_Task_Tracker_7' of framework '3017e73a-a3f5-405c-8705-ef7f743295a0-0000' failed to start: Failed to fetch all URIs for container '2f6046b6-97af-4ce0-abed-8cba9e4b397a' with exit status: 256
原因是URI不通,但是其实在salve下打 hadoop fs -ls / 可以看到文件存在且权限也是755
后来在老司机的提示下,把URI修改问本地(原来为hdfs的方式)
解决方法:
在hadoop的mapred-site.xml 文件下,修改URI
<property>
<name>mapred.mesos.executor.uri</name>
<value>file:///home/ubuntu/hadoop-2.5.0-cdh5.2.0.tar.gz</value>
</property>
然后重启mesos和hadoop相关服务后问题解决
运行wordcount进行实验,发现在master上的task很顺利,但是在slave上的task都FAILED了。
查看slave上mesos的log,可以看到错误信息:
E1130 15:37:54.397516 157992 fetcher.cpp:515] Failed to run mesos-fetcher: Failed to fetch all URIs for container '2f6046b6-97af-4ce0-abed-8cba9e4b397a' with exit status: 256
E1130 15:37:54.398478 157981 slave.cpp:3342] Container '2f6046b6-97af-4ce0-abed-8cba9e4b397a' for executor 'executor_Task_Tracker_7' of framework '3017e73a-a3f5-405c-8705-ef7f743295a0-0000' failed to start: Failed to fetch all URIs for container '2f6046b6-97af-4ce0-abed-8cba9e4b397a' with exit status: 256
原因是URI不通,但是其实在salve下打 hadoop fs -ls / 可以看到文件存在且权限也是755
后来在老司机的提示下,把URI修改问本地(原来为hdfs的方式)
解决方法:
在hadoop的mapred-site.xml 文件下,修改URI
<property>
<name>mapred.mesos.executor.uri</name>
<value>file:///home/ubuntu/hadoop-2.5.0-cdh5.2.0.tar.gz</value>
</property>
然后重启mesos和hadoop相关服务后问题解决
相关文章推荐
- Javascript:谈谈JS的全局变量跟局部变量
- HTML5 Canvas(画布)图像处理
- 被node.js坑过的事(一)
- ReactiveCocoa入门-part1
- 原创js模型驱动
- WebDatagrid三种获取值得方法javascript
- HTML5的优势
- web前端常用插件
- ExtJs入门
- Javascript模块化编程
- js中使用eval()的问题
- css案例学习之通过relative与absolute实现带说明信息的菜单
- css重置样式表reset.css
- js中(function(){…})()立即执行函数写法理解
- AngularJS学习笔记之directive——scope选项与绑定策略
- jsp的session介绍 (转)
- jquery小技巧
- 轻松学习jQuery插件EasyUI EasyUI创建树形菜单
- jsoncpp库的使用方法
- Axiom3D学习日记 2.介绍SceneManager,SceneNode,Entity