RHadoop: REDUCE capability required is more than the supported max container capability in the cluster

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 的值

时间: 2024-10-11 10:20:47

RHadoop: REDUCE capability required is more than the supported max container capability in the cluster的相关文章

基于zookeeper-3.5.5安装hadoop-3.1.2

目录 目录 1 1. 前言 3 2. 缩略语 3 3. 安装步骤 4 4. 下载安装包 4 5. 机器规划 4 6. 设置批量操作参数 5 7. 环境准备 5 7.1. 修改最大可打开文件数 5 7.2. 修改OOM相关参数 6 7.3. 免密码登录设置 6 7.4. 修改主机名 6 7.4.1. 临时修改主机名 6 7.4.2. 永久修改主机名 7 7.4.3. 批量修改主机名 7 7.4.4. 配置/etc/hosts 7 8. 安装建议 8 9. 创建安装用户组和用户 8 10. 安装JD

Android Capability 细粒度的权限控制

1. 传统的UID/GID,权限颗粒度太大 2. Capability: 细粒度的权限控制 3. 进程的Capability 4. 文件的Capability 5. 进程的Capability BoundSet 6. Spawn进程的Capability 7. Capability和UID的兼容 http://www.jikexueyuan.com/course/25_7.html?ss=1 ----------------------------------------- 1. 传统的UID/

转载:linux capability深入分析

转至http://www.cnblogs.com/iamfy/archive/2012/09/20/2694977.html 一)概述: 1)从2.1版开始,Linux内核有了能力(capability)的概念,即它打破了UNIX/LINUX操作系统中超级用户/普通用户的概念,由普通用户也可以做只有超级用户可以完成的工作. 2)capability可以作用在进程上(受限),也可以作用在程序文件上,它与sudo不同,sudo只针对用户/程序/文件的概述,即sudo可以配置某个用户可以执行某个命令,

cephFs Jewel: mds0: Client failing to respond to capability release 问题分析及思路

cephFS jewel  client 报警: mds0: Client l10-190 failing to respond to capability release 2016-08-26 08:01:49.905823 mds.0 192.168.194.120:6800/171607 3 : cluster [WRN] 7 slow requests, 5 included below; oldest blocked for > 33.942552 secs 2016-08-26 08

什么是Capability

desired capability的功能是配置Appium会话.他们告诉Appium服务器您想要自动化的平台和应用程序. Desired Capabilities是一组设置的键值对的集合,其中键对应设置的名称,而值对应设置的值.(如:"platformName": "Android")Desired Capabilities主要用于通知Appium服务器建立需要的Session. Session Appium的客户端和服务端之间进行通信都必须在一个Session的

(十三)Capability配置数据分离实践

Capability配置数据分离实践 1.测试场景 将capability的各项参数值与代码进行分离 2.场景分析 结合之前的知识,可以将capability中各项写死的配置信息抽离出来,存放在一个yaml配置文件中,使用对象数据类型来存储数据,然后调用load()方法读取数据,从而实现数据和代码的分离 3.代码实现 1)参数配置表desired_caps.yaml 2)capability_yaml.py 原文地址:https://www.cnblogs.com/xiongxiaoyan/p/

Capability配置简介

什么是Capability desired capability的功能是配置Appium会话.他们告诉Appium服务器您想要自动化的平台和应用程序. Desired Capabilities是一组设置的键值对的集合,其中键对应设置的名称,而值对应设置的值.(如:"platformName": "Android")Desired Capabilities主要用于通知Appium服务器建立需要的Session. Session Appium的客户端和服务端之间进行通信

2.6 Advanced Error Reporting Capability (Optional)

2.6 Advanced Error Reporting Capability (Optional)The Advanced Error Reporting definitions below are based on the PCI Express 2.1 Base specification. Implementations may choose to base the device on a specification beyond the PCI Express 2.1 Base spe

Windows Error Codes

http://www.briandunning.com/error-codes/?source=Windows Windows Error Codes List All Error Codes | Search Errors: FileMaker Error Codes Lasso Error Codes MySQL Error Codes Windows System Errors About this databaseThis is a free public resource. It is