Skip to content
Snippets Groups Projects
Commit b4284f21 authored by Jan Frenzel's avatar Jan Frenzel
Browse files

Removed whitespace in otherwise empty lines in code snippet in

big_data_frameworks_spark.md.
parent 63c95810
No related branches found
No related tags found
3 merge requests!412Manual attempt to merge preview into main,!402Solved issue-194. Added missing information regarding usage of SSH config for...,!400Improved big_data_frameworks_spark.md
...@@ -131,25 +131,25 @@ example below: ...@@ -131,25 +131,25 @@ example below:
#SBATCH --exclusive #SBATCH --exclusive
#SBATCH --mem=60G #SBATCH --mem=60G
#SBATCH --job-name="example-spark" #SBATCH --job-name="example-spark"
ml Spark/3.0.1-Hadoop-2.7-Java-1.8-Python-3.7.4-GCCcore-8.3.0 ml Spark/3.0.1-Hadoop-2.7-Java-1.8-Python-3.7.4-GCCcore-8.3.0
function myExitHandler () { function myExitHandler () {
stop-all.sh stop-all.sh
} }
#configuration #configuration
. framework-configure.sh spark $SPARK_HOME/conf . framework-configure.sh spark $SPARK_HOME/conf
#register cleanup hook in case something goes wrong #register cleanup hook in case something goes wrong
trap myExitHandler EXIT trap myExitHandler EXIT
start-all.sh start-all.sh
spark-submit --class org.apache.spark.examples.SparkPi $SPARK_HOME/examples/jars/spark-examples_2.12-3.0.1.jar 1000 spark-submit --class org.apache.spark.examples.SparkPi $SPARK_HOME/examples/jars/spark-examples_2.12-3.0.1.jar 1000
stop-all.sh stop-all.sh
exit 0 exit 0
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment