Hi Bernd, I never see this before. Do you know what's the exit code from the YARN log? Currently there is no good way to stage an Twill app besides running a unit test with a mini YARN cluster (see YarnTestSuite in the Twill source).
Terence On Wed, Dec 18, 2013 at 6:01 AM, Bernd Fondermann <[email protected]> wrote: > Hi everyone, > > I'm trying to run a Twill app on YARN. Attempts fail immediately with > org.apache.hadoop.util.Shell$ExitCodeException. > > The rm logs report the launch cmd line as: > java -Djava.io.tmpdir=tmp -Dyarn.appId=$YARN_APP_ID_STR > -Dtwill.app=$TWILL_APP_NAME -cp launcher.jar:$HADOOP_CONF_DIR -Xmx362m > org.apache.twill.launcher.TwillLauncher appMaster.jar > org.apache.twill.internal.appmaster.ApplicationMasterMain false > 1><LOG_DIR>/stdout 2><LOG_DIR>/stderr > > Any idea what the problem could be? > Ist there a recommended way to stage a Twill app before running it on a > remote cluster? > > Thanks, > > Bernd
