samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trinabh Shukla <trinabh_shu...@persistent.co.in>
Subject Samza Disable GC collection
Date Fri, 27 Dec 2013 15:15:56 GMT
I was wondering if user can disable GC logging. It seems Samaza automatically set the following
garbage collection logging option:

-XX:+PrintGCDateStamps -Xloggc:$SAMZA_LOG_DIR/gc.log

I'm using IBM Java SDK and it throws unrecognized option -Xloggc. I updated run-class.sh and
using -Xverbosegclog which seems working fine:

JAVA_OPTS="-Xmx768M -Xverbosegclog:$SAMZA_LOG_DIR/gc.log -Dsamza.log.dir=$SAMZA_LOG_DIR -Dsamza.container.name=$SAMZA_CONTAINER_NAME"


But later while deploying my application it's still throwing following error:

Application application_1388150059319_0002 failed 2 times due to AM Container for appattempt_1388150059319_0002_000002
exited with exitCode: 1 due to: Exception from container-launch:
org.apache.hadoop.util.Shell$ExitCodeException:
at org.apache.hadoop.util.Shell.runCommand(Shell.java:464)
at org.apache.hadoop.util.Shell.run(Shell.java:379)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:589)
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:195)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:283)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:79)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
at java.util.concurrent.FutureTask.run(FutureTask.java:149)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
at java.lang.Thread.run(Thread.java:738)


JVMJ9VM007E Command-line option unrecognised: -Xloggc:.....deploy/yarn/logs/userlogs/application_1388150059319_0002/container_1388150059319_0002_01_000001/gc.log

Please suggest if there is a way I can disable GC for time being.

Thanks


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message