There are a ton of questions about ClassNotFoundException
but I haven\'t seen any (yet) that fit this specific case. I am attempting to run the following command:>
Why don't you use the path to the jar file so spark-submit
(as any other command line tool) could find and use it?
Given the path out/artifacts/TimeSeriesFilter_jar/scala-ts.jar
I'd use the following:
spark-submit --class com.stronghold.HelloWorld out/artifacts/TimeSeriesFilter_jar/scala-ts.jar
Please note that you should be in the project's main directory which seems to be /home/[USER]/projects/scala_ts
.
Please also note that I removed --master local[*]
since that's the default master URL spark-submit
uses.