You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am following the command docker run -v $(pwd):/job godatadriven/pyspark /job/samples/word_counter.py with my own python script and am getting this error:
Error: No main class set in JAR; please specify one with --class
In the spark documentation they say:
For Python applications, simply pass a .py file in the place of instead of a JAR,
This is what I'm doing - why am I getting this error?
The text was updated successfully, but these errors were encountered:
Hi, could you give me a bit more information? I tried to replicate your error, but couldn't.
I'm running this command locally (on windows): docker run -v C:\Users\niels\git\pyspark-dockerhub:/job godatadriven/pyspark /job/samples/word_counter.py
To see if your volume mapping is working, you could execute something like: docker run --entrypoint ls -v C:\Users\niels\git\pyspark-dockerhub:/job godatadriven/pyspark /job
or docker run --entrypoint ls -v $(pwd):/job godatadriven/pyspark /job
Hello, I am following the command docker run -v $(pwd):/job godatadriven/pyspark /job/samples/word_counter.py with my own python script and am getting this error:
Error: No main class set in JAR; please specify one with --class
In the spark documentation they say:
For Python applications, simply pass a .py file in the place of instead of a JAR,
This is what I'm doing - why am I getting this error?
The text was updated successfully, but these errors were encountered: