I am using spark-submit to execute a jar file. Spark is located in my "C" drive and my eclipse workspace is in "D" drive. Tough I am giving an absolute path for the jar file I get the error saying "The filename, directory name, or volume label syntax is incorrect."
Below is the command i used to run spark-submit:
C:\spark-2.1.0-bin-hadoop2.7\bin>spark-submit --class "Main" --master local[2] "
D:\JAVA NEW ENV\Line_Count_Spark\target\Line_Count_Spark-0.0.1-SNAPSHOT.jar"
What is exactly wrong with this and is there any workaround for the same?