I have not used RHadoop. However I've had a very similar problem on my cluster, and this problem seems to be linked only to MapReduce.

The maxContainerCapability in this log refers to the yarn.scheduler.maximum-allocation-mbproperty of your yarn-site.xml configuration. It is the maximum amount of memory that can be used in any container.

The mapResourceReqt and reduceResourceReqt in your log refer to the mapreduce.map.memory.mb and mapreduce.reduce.memory.mb properties of your mapred-site.xml configuration. It is the memory size of the containers that will be created for a Mapper or a Reducer in mapreduce.

If the size of your Reducer's container is set to be greater than yarn.scheduler.maximum-allocation-mb, which seems to be the case here, your job will be killed because it is not allowed to allocate so much memory to a container.

Check your configuration at http://[your-resource-manager]:8088/conf and you should normally find these values and see that this is the case.

Maybe your new environment has these values set to 4096 Mb (which is quite big, the default in Hadoop 2.7.1 being 1024).

Solution

You should either lower the mapreduce.[map|reduce].memory.mb values down to 1024, or if you have lots of memory and want huge containers, raise the yarn.scheduler.maximum-allocation-mb value to 4096. Only then MapReduce be able to create containers.

I hope this helps.

简而言之:yarn-site.xml 中的yarn.scheduler.maximum-allocation-mb配置的值 >= mapred-site.xml 中mapreduce.map.memory.mb、mapreduce.reduce.memory.mb 的值

最新文章

  1. 丰富eclipse注解的内容
  2. Network网络
  3. Careercup 论坛上较有意思的题目整理
  4. iOS获取窗口当前显示的控制器
  5. Js日期选择器并自动加入到输入框中
  6. 学习练习 java面向对象梯形面积
  7. DB2中ixf文件的导入导出
  8. SSH+Ajax实现用户名重复检查(一)
  9. 例6.1:学生选课系统设计(界面设计、类图、数据库ER图)
  10. paip.输入法编程---增加码表类型
  11. javascript时间处理方法收集
  12. foj 2082 树链剖分 第2天
  13. Gradle 笔记——Java构建入门
  14. BaseRecycleViewAdapterHelper
  15. 第一个spring,总结!
  16. hanlp的基本使用--python(自然语言处理)
  17. HDU 1715 (大数相加,斐波拉契数列)
  18. (转)MapReduce Design Patterns(chapter 1)(一)
  19. 论文笔记:Attentional Correlation Filter Network for Adaptive Visual Tracking
  20. 使用Razor

热门文章

  1. hdu2476(区间dp+dp)
  2. 使用Redis sorted set实现集合设置member过期
  3. 微信小程序wx.request的简单封装
  4. Error: unable to load xmlsec-openssl library
  5. 构建Hadoop监控共同体
  6. SVG-概述/容器与通用属性
  7. 【React自制全家桶】一、Webstrom+React+Ant Design+echarts搭建react项目
  8. PAT 甲级 1037 Magic Coupon (25 分) (较简单,贪心)
  9. sbt配置文件
  10. 【Leetcode_easy】707. Design Linked List