Taiwan Hadoop Forum
http://forum.hadoop.tw/

Container killed on request. Exit code is 143
http://forum.hadoop.tw/viewtopic.php?f=7&t=38305
1 頁 (共 1 頁)

發表人:  jdwang [ 2016-02-15, 22:57 ]
文章主題 :  Container killed on request. Exit code is 143

請問是否有人遇過
程式執行時,hadoop分配記憶體不足的問題
17.1 GB of 2.1 GB virtual memory used. Killing container.
===========================
running hadoop jar......
Container [pid=28917,containerID=container_1455198729657_0022_01_000002] is running beyond virtual memory limits. Current usage: 52.8 MB of 1 GB physical memory used; 17.1 GB of 2.1 GB virtual memory used. Killing container.
...
...
...
Container killed on request. Exit code is 143
Container exited with a non-zero exit code 143
=========================================

發表人:  jazz [ 2016-02-28, 19:34 ]
文章主題 :  Re: Container killed on request. Exit code is 143

jdwang 寫:
請問是否有人遇過
程式執行時,hadoop分配記憶體不足的問題
17.1 GB of 2.1 GB virtual memory used. Killing container.
===========================
running hadoop jar......
Container [pid=28917,containerID=container_1455198729657_0022_01_000002] is running beyond virtual memory limits. Current usage: 52.8 MB of 1 GB physical memory used; 17.1 GB of 2.1 GB virtual memory used. Killing container.
=========================================


您可以調整 YARN 的參數 yarn.scheduler.maximum-allocation-mb,讓 Virtual Memory 的大小高於 17.1GB

圖檔

- Jazz

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/