Re: system.out.println with --master yarn-cluster

2014-10-15 Thread vishnu86
Examine the output (replace $YARN_APP_ID in the following with the application identifier output by the previous command) (Note: YARN_APP_LOGS_DIR is usually /tmp/logs or $HADOOP_HOME/logs/userlogs depending on the Hadoop version.) $ cat $YARN_APP_LOGS_DIR/$YARN_APP_ID/container*_01/stdout.

Issue on running spark application in Yarn-cluster mode

2014-10-13 Thread vishnu86
When I execute the following in yarn-client mode its working fine and giving the result properly, but when i try to run in Yarn-cluster mode i am getting error spark-submit --class org.apache.spark.examples.SparkPi --master yarn-client