Closed foster999 closed 3 years ago
I've got this running using a similar install to your src. Not sure which bit wasn't working, but shall close this 😄 Working install snippet for info:
- name: Setup spark
run: |
cd ../../ &&
wget -q -O spark.tgz https://archive.apache.org/dist/spark/spark-2.4.0/spark-2.4.0-bin-hadoop2.6.tgz &&
tar xzvf spark.tgz &&
rm "spark.tgz" &&
(cd spark-2.4.0-bin-hadoop2.6 &&
export SPARK_HOME=`pwd` &&
export PYTHONPATH=$(ZIPS=("$SPARK_HOME"/python/lib/*.zip); IFS=:; echo "${ZIPS[*]}"):$PYTHONPATH
)
Describe the bug I'm aware that the action isn't tested for versions below 3, but wondered if you might be able to advise on how I can adjust the configuration to work.
When calling spark though
pytest
(pyspark), we get an error stating thatspark-submit
is not where it is is expected to be:I expect that this is due to the lower spark version, but have been unable to find how the configuration of later versions differ. Any pointers here would be greatly appreaciated.
Which version of the action are you using?
v1
Environment GitHub Actions
Spark Versions
Run/Repo Url See run here