mapreduce.{map|reduce}.java.opts vs. mapreduce.{map|reduce}.memory.mb
来源:互联网 发布:afnetworking数据缓存 编辑:程序博客网 时间:2024/05/14 09:24
In Hadoop 2, tasks are run within containers launched by YARN.
mapreduce.{map|reduce}.memory.mb is used by YARN to set the memory size of the container being used to run the map or reduce task. If the task grows beyond this limit, YARN will kill the container.
To execute the actual map or reduce task, YARN will run a JVM within the container. The hadoop property mapreduce.{map|reduce}.java.opts is intended to pass options to this JVM. This could include Xmx to set max heap size of the JVM. However, the subsequent growth in the memory footprint of the JVM due to the settings in mapreduce.{map|reduce}.java.opts is limited by the actual size of the container as set by mapreduce.{map|reduce}.memory.mb.
Consequently, you should ensure that the heap you specify in {map|reduce}.java.opts is set to be less than than the memory specified by {map|reduce}.memory.mb.
For example:
hadoop jar <jarName> -Dmapreduce.reduce.memory.mb=4096 -Dmapreduce.map.java.opts=-Xmx3276
mapreduce.{map|reduce}.memory.mb is used by YARN to set the memory size of the container being used to run the map or reduce task. If the task grows beyond this limit, YARN will kill the container.
To execute the actual map or reduce task, YARN will run a JVM within the container. The hadoop property mapreduce.{map|reduce}.java.opts is intended to pass options to this JVM. This could include Xmx to set max heap size of the JVM. However, the subsequent growth in the memory footprint of the JVM due to the settings in mapreduce.{map|reduce}.java.opts is limited by the actual size of the container as set by mapreduce.{map|reduce}.memory.mb.
Consequently, you should ensure that the heap you specify in {map|reduce}.java.opts is set to be less than than the memory specified by {map|reduce}.memory.mb.
For example:
hadoop jar <jarName> -Dmapreduce.reduce.memory.mb=4096 -Dmapreduce.map.java.opts=-Xmx3276
1 0
- mapreduce.{map|reduce}.java.opts vs. mapreduce.{map|reduce}.memory.mb
- Julia: map,reduce,mapreduce
- mongdb mapreduce 排查 map reduce
- MapReduce中的map与reduce
- MapReduce Map数 reduce数设置
- MapReduce Map数 reduce数设置
- MapReduce Map数 reduce数设置
- mapreduce 的map shuffle reduce 阶段解析
- MapReduce Map数 reduce数设置
- MapReduce Map数 reduce数设置
- MapReduce Map数 reduce数设置
- MapReduce中map与reduce的个数
- MapReduce框架中map、reduce方法的运行方式
- mapreduce中map和reduce的最大并发数量设置
- Mapreduce不设置reduce,只执行map的输出结果
- MapReduce优化----map和reduce的槽数的设定
- MapReduce(十二): Map和Reduce阶段数据合并的处理
- MapReduce中Map Task和Reduce Task的数量
- 【Android知识点精讲】(17)多媒体
- Java生成静态HTML页面
- B+树
- uva11029(幂取模)
- java 生成静态html的一段代码
- mapreduce.{map|reduce}.java.opts vs. mapreduce.{map|reduce}.memory.mb
- C++ win开发 WaitForSingleObject函数
- Test
- 07-2. Insert or Merge (25)
- linux 进程控制1 获得当前进程的进程ID和其父进程ID 华清远见-《嵌入式 Linux 应用程序开发标准教程》
- Java复制文件
- 一些常用的html/CSS效果---小技巧
- 怎样写防止Sql注入的Sql语句
- /bin/sh^M: bad interpreter:没有那个文件或目录解决