It looks like there is not enough memory for all the containers. If you're
running in the sandbox, how much memory is allocated to the sandbox ?
Can you try increasing it ?

There is also a detailed discussion of how to manage memory using
configuration
parameters in the properties files at:
http://docs.datatorrent.com/tutorials/topnwords-c7/

As a first step, can you simply build the archetype generated project
(without copying
over the source files for the word count application) and try to run the
resulting app ?
It has only 2 operators and so minimal memory requirements. If it runs, it
will confirm
that your setup is OK but availability of adequate memory is the issue.

Ram

On Sun, Sep 4, 2016 at 11:47 AM, Ambarish Pande <
[email protected]> wrote:

> Hello Guys,
>
> I have followed the steps shown in this video https://www.youtube.com/
> watch?v=LwRWBudOjg4&feature=youtu.be to build my first apex application.
> My application is failing and the following diagnostics report is shown in
> the web admin interface on master:8088
>
> ----------
>
> Application application_1473011986197_0001 failed 2 times due to AM
> Container for appattempt_1473011986197_0001_000002 exited with exitCode:
> -103
> For more detailed output, check application tracking page:
> http://master:8088/cluster/app/application_1473011986197_0001Then, click
> on links to logs of each attempt.
> Diagnostics: Container 
> [pid=8339,containerID=container_1473011986197_0001_02_000001]
> is running beyond virtual memory limits. Current usage: 254.7 MB of 1 GB
> physical memory used; 2.4 GB of 2.1 GB virtual memory used. Killing
> container.
> Dump of the process-tree for container_1473011986197_0001_02_000001 :
> |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS)
> SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE
> |- 8389 8339 8339 8339 (java) 976 19 2575908864 64519
> /usr/lib/jvm/java-8-oracle/bin/java -Djava.io.tmpdir=/home/
> hadoopuser/tmp/nm-local-dir/usercache/hadoopuser/appcache/
> application_1473011986197_0001/container_1473011986197_0001_02_000001/tmp
> -Xmx768m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/dt-heap-1.bin
> -Dhadoop.root.logger=INFO,RFA -Dhadoop.log.dir=/home/
> hadoopuser/hadoop/logs/userlogs/application_1473011986197_0001/container_1473011986197_0001_02_000001
> -Ddt.attr.APPLICATION_PATH=hdfs://master:54310/user/
> hadoopuser/datatorrent/apps/application_1473011986197_0001
> com.datatorrent.stram.StreamingAppMaster
> |- 8339 8337 8339 8339 (bash) 0 0 17043456 679 /bin/bash -c
> /usr/lib/jvm/java-8-oracle/bin/java -Djava.io.tmpdir=/home/
> hadoopuser/tmp/nm-local-dir/usercache/hadoopuser/appcache/
> application_1473011986197_0001/container_1473011986197_0001_02_000001/tmp
> -Xmx768m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/dt-heap-1.bin
> -Dhadoop.root.logger=INFO,RFA -Dhadoop.log.dir=/home/
> hadoopuser/hadoop/logs/userlogs/application_1473011986197_0001/container_1473011986197_0001_02_000001
> -Ddt.attr.APPLICATION_PATH=hdfs://master:54310/user/
> hadoopuser/datatorrent/apps/application_1473011986197_0001
> com.datatorrent.stram.StreamingAppMaster 1>/home/hadoopuser/hadoop/
> logs/userlogs/application_1473011986197_0001/container_
> 1473011986197_0001_02_000001/AppMaster.stdout 2>/home/hadoopuser/hadoop/
> logs/userlogs/application_1473011986197_0001/container_
> 1473011986197_0001_02_000001/AppMaster.stderr
> Container killed on request. Exit code is 143
> Container exited with a non-zero exit code 143
> Failing this attempt. Failing the application.
>
>
> ----------
>
>
> Any help would be appreciated.
>
> Thank you in advance.
>
>
>
>

Reply via email to