Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hpc-compendium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZIH
hpcsupport
hpc-compendium
Commits
34cde209
Commit
34cde209
authored
3 years ago
by
Jan Frenzel
Browse files
Options
Downloads
Patches
Plain Diff
Removed example-spark.sbatch as it is included in
big_data_frameworks_spark.md.
parent
a2e7a941
No related branches found
No related tags found
3 merge requests
!412
Manual attempt to merge preview into main
,
!402
Solved issue-194. Added missing information regarding usage of SSH config for...
,
!400
Improved big_data_frameworks_spark.md
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc.zih.tu-dresden.de/docs/software/big_data_frameworks_spark.md
+3
-2
3 additions, 2 deletions
....tu-dresden.de/docs/software/big_data_frameworks_spark.md
doc.zih.tu-dresden.de/docs/software/misc/example-spark.sbatch
+0
-27
0 additions, 27 deletions
...zih.tu-dresden.de/docs/software/misc/example-spark.sbatch
with
3 additions
and
29 deletions
doc.zih.tu-dresden.de/docs/software/big_data_frameworks_spark.md
+
3
−
2
View file @
34cde209
...
@@ -119,12 +119,13 @@ short test runs, it is **recommended to launch your jobs in the background using
...
@@ -119,12 +119,13 @@ short test runs, it is **recommended to launch your jobs in the background using
that, you can conveniently put the parameters directly into the job file and submit it via
that, you can conveniently put the parameters directly into the job file and submit it via
`sbatch [options] <job file>`
.
`sbatch [options] <job file>`
.
Please use a
[
batch job
](
../jobs_and_resources/slurm.md
)
with a configuration, similar to the example below:
Please use a
[
batch job
](
../jobs_and_resources/slurm.md
)
with a configuration, similar to the
example below:
??? example "spark.sbatch"
??? example "spark.sbatch"
```
bash
```
bash
#!/bin/bash -l
#!/bin/bash -l
#SBATCH --time=0
1
:0
0
:00
#SBATCH --time=0
0
:0
5
:00
#SBATCH --partition=haswell
#SBATCH --partition=haswell
#SBATCH --nodes=2
#SBATCH --nodes=2
#SBATCH --exclusive
#SBATCH --exclusive
...
...
This diff is collapsed.
Click to expand it.
doc.zih.tu-dresden.de/docs/software/misc/example-spark.sbatch
deleted
100644 → 0
+
0
−
27
View file @
a2e7a941
#!/bin/bash
#SBATCH --time=00:03:00
#SBATCH --partition=haswell
#SBATCH --nodes=1
#SBATCH --exclusive
#SBATCH --mem=50G
#SBATCH -J "example-spark"
ml Spark/3.0.1-Hadoop-2.7-Java-1.8-Python-3.7.4-GCCcore-8.3.0
function
myExitHandler
()
{
stop-all.sh
}
#configuration
.
framework-configure.sh spark
$SPARK_HOME
/conf
#register cleanup hook in case something goes wrong
trap
myExitHandler EXIT
start-all.sh
spark-submit
--class
org.apache.spark.examples.SparkPi
$SPARK_HOME
/examples/jars/spark-examples_2.12-3.0.1.jar 1000
stop-all.sh
exit
0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment