I am trying to execute a spark application using spark-submit.
c:\temp>spark-submit --master yarn ./SparkExamples.jar --class com.examples.WordCount
Error: No main class set in JAR; please specify one with --class
Run with --help for usage help or --verbose for debug output
The main class file is existing in the jar file. I also checked there is a MANIFEST.MF file which holds the main class name.
Manifest-Version: 1.0
Main-Class: com.examples.WordCount
what am I missing?