spark-examples icon indicating copy to clipboard operation
spark-examples copied to clipboard

Spark examples

Results 4 spark-examples issues
Sort by recently updated
recently updated
newest added

I tried to run your code to AWS EMR and I get the following error - > "FailureDetails": { "Reason": "Main Class not found.", "LogFile": "s3://some_locatoin/clusterId/steps/stepId/stderr.gz", "Message": "java.lang.ClassNotFoundException: org.sparkexample.WordCountTask" }...

For "./bin/spark-submit --class org.sparkexample.WordCount --master local[2] //target/spark-examples-1.0-SNAPSHOT.jar / /" The class name should be WordCountTask now. And also, I don't see any output result in output directory, only console.

Hi, I had to change new WordCountTask().run(args[1]); to new WordCountTask().run(args[0]); to get the job to run in Spark Anthony