You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by raghavendhra rahul <ra...@gmail.com> on 2012/01/05 07:44:24 UTC

Appmaster error

Hi,
               I am trying to start an server within the application
master's container alone.But when i tried using
Runtime.getRuntime.exec("command").But it throws the following execption.
Application application_1325738010393_0003 failed 1 times due to AM
Container for appattempt_1325738010393_0003_000001 exited with exitCode:
143 due to: Container
[pid=7212,containerID=container_1325738010393_0003_01_000001] is running
beyond virtual memory limits. Current usage: 118.4mb of 1.0gb physical
memory used; 2.7gb of 2.1gb virtual memory used. Killing container. Dump of
the process-tree for container_1325738010393_0003_01_00000

When i tried using single node yarn cluster everything works fine.But in
multi node it throws this exception.Should i increase the size of /tmp in
linux.......
Any ideas????

Re: Appmaster error

Posted by Robert Evans <ev...@yahoo-inc.com>.
Pleas don't cross post.

Common is BCCed.  Each container has a vmem limit that is enforced, but not in local mode.  If this is for the app master then you can increase this amount so that when you launch your AM you can set this amount through SubmitApplicationRequest req; ...
req.getApplicationSubmissionContext().getAMContainerSpec().getResource().setMemory(memory_in_mb)

--Bobby Evans

On 1/5/12 12:44 AM, "raghavendhra rahul" <ra...@gmail.com> wrote:

Hi,
               I am trying to start an server within the application master's container alone.But when i tried using Runtime.getRuntime.exec("command").But it throws the following execption.
Application application_1325738010393_0003 failed 1 times due to AM Container for appattempt_1325738010393_0003_000001 exited with  exitCode: 143 due to: Container [pid=7212,containerID=container_1325738010393_0003_01_000001] is running beyond virtual memory limits. Current usage: 118.4mb of 1.0gb physical memory used; 2.7gb of 2.1gb virtual memory used. Killing container. Dump of the process-tree for container_1325738010393_0003_01_00000

When i tried using single node yarn cluster everything works fine.But in multi node it throws this exception.Should i increase the size of /tmp in linux.......
Any ideas????



Re: Appmaster error

Posted by Robert Evans <ev...@yahoo-inc.com>.
Pleas don't cross post.

Common is BCCed.  Each container has a vmem limit that is enforced, but not in local mode.  If this is for the app master then you can increase this amount so that when you launch your AM you can set this amount through SubmitApplicationRequest req; ...
req.getApplicationSubmissionContext().getAMContainerSpec().getResource().setMemory(memory_in_mb)

--Bobby Evans

On 1/5/12 12:44 AM, "raghavendhra rahul" <ra...@gmail.com> wrote:

Hi,
               I am trying to start an server within the application master's container alone.But when i tried using Runtime.getRuntime.exec("command").But it throws the following execption.
Application application_1325738010393_0003 failed 1 times due to AM Container for appattempt_1325738010393_0003_000001 exited with  exitCode: 143 due to: Container [pid=7212,containerID=container_1325738010393_0003_01_000001] is running beyond virtual memory limits. Current usage: 118.4mb of 1.0gb physical memory used; 2.7gb of 2.1gb virtual memory used. Killing container. Dump of the process-tree for container_1325738010393_0003_01_00000

When i tried using single node yarn cluster everything works fine.But in multi node it throws this exception.Should i increase the size of /tmp in linux.......
Any ideas????