Unable to process spark job on lab

spark-submit
#1

Hi,

i have created a jar in eclipse to use dataframes in sprk which reads orders file in the lab.

When i am trying to run the jar on lab using spark submit it gives error classnot found.

screen shot is attached and jar also with it.

Please let me know if it is incorrect somewhere, as in eclispse it works fine.

Thanks,
Nishith.

0 Likes

#2

@Nishith
Once try giving your jar as --jars [jar file path] in your spark-submit command. I’m not sure, but I guess you missed adding the --jars option before actually mentioning your jar path.

0 Likes