Which release of Spark were you using ?
Can you post the command you used to run WordCount ?
Cheers
On Sat, Nov 7, 2015 at 7:59 AM, Shashi Vishwakarma wrote:
> I am trying to run simple word count job in spark but I am getting
> exception while running job.
>
> For
Hi
I am using Spark 1.3.0 . Command that I use is below.
/spark-submit --class org.com.td.sparkdemo.spark.WordCount \
--master yarn-cluster \
target/spark-0.0.1-SNAPSHOT-jar-with-dependencies.jar
Thanks
Shashi
On Sun, Nov 8, 2015 at 11:33 PM, Ted Yu wrote:
>
Hi Shashi,
It's possible that the logs you were seeing is the log for the second
attempt. By default, I think yarn is configured to re-attempt executing the
job again if it fails the first time. Try checking the application logs
from the Yarn RM UI, make sure that you click the first log attempt
I am trying to run simple word count job in spark but I am getting
exception while running job.
For more detailed output, check application tracking
page:http://quickstart.cloudera:8088/proxy/application_1446699275562_0006/Then,
click on links to logs of each attempt.Diagnostics: Exception from