samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trinabh Shukla <>
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 and
using -Xverbosegclog which seems working fine:

JAVA_OPTS="-Xmx768M -Xverbosegclog:$SAMZA_LOG_DIR/gc.log -Dsamza.log.dir=$SAMZA_LOG_DIR$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:
at org.apache.hadoop.util.Shell.runCommand(
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(
at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(
at java.util.concurrent.FutureTask$Sync.innerRun(
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$

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.


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.

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