小编itz*_*aki的帖子

Hadoop 2中3个内存参数的区别?

我正在使用Hadoop 2.0.5(Alpha)来运行相对较大的工作,我遇到了这些错误:

Container [pid = 15023,containerID = container_1378641992707_0002_01_000029]正在超出虚拟内存限制.当前用法:使用492.4 MB的1 GB 物理内存; 使用3.3 GB的2.1 GB虚拟内存.杀死容器.

然后我了解了这两个参数:

yarn.nodemanager.vmem-pmem-ratio属性,默认设置为2.1.

yarn.app.mapreduce.am.command-opts默认设置为-Xmx1024mb(= 1GB).

这解释了上面标出的限制.

将这些参数设置为更高的值确实有帮助,但后来我找到了这个参数: yarn.app.mapreduce.am.resource.mb,默认设置为1536.

我不能完全区分Hadoop默认XML中的描述中的3,也不能说明如何在优化方法中正确设置它们.

非常感谢解释或好的参考

hadoop mapreduce hadoop-yarn

9
推荐指数
2
解决办法
1万
查看次数

使用 SSH 运行 swapon 时找不到命令

我正在尝试远程使用“swapon -s”但“找不到命令”

$ ssh ns2 swapon -s 
bash: swapon: command not found
Run Code Online (Sandbox Code Playgroud)

在本地使用它完美无缺,这可能是什么原因?

linux bash scripting

4
推荐指数
1
解决办法
8214
查看次数

“调试中断”和int 80h有什么区别?

这是来自测试的问题。可能的答案是:

(a) Debug interrupt is always caused by an error, and int 80h isn't.
(b) Only on int 80h the returning address is saved.
(c) int 80h is always caused by an error and debug interrupt isn't.
(d) None of the above.
Run Code Online (Sandbox Code Playgroud)

我唯一能肯定的是(c)是错误的。

谁能阐明两者之间的差异?

x86 assembly

1
推荐指数
1
解决办法
1368
查看次数

标签 统计

assembly ×1

bash ×1

hadoop ×1

hadoop-yarn ×1

linux ×1

mapreduce ×1

scripting ×1

x86 ×1