Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:bigdata [2021/06/23 09:36] – [Apache Spark on VSC] dieter | doku:bigdata [2022/12/20 09:46] – [MapReduce: Concepts and example] dieter | ||
---|---|---|---|
Line 41: | Line 41: | ||
Let us calculate the value of pi by means of the following Python script < | Let us calculate the value of pi by means of the following Python script < | ||
- | < | + | < |
from __future__ import print_function | from __future__ import print_function | ||
Line 76: | Line 76: | ||
In order to submit this python job to the queuing system we use the SLURM script < | In order to submit this python job to the queuing system we use the SLURM script < | ||
- | < | + | < |
#!/bin/bash | #!/bin/bash | ||
#SBATCH --nodes=1 | #SBATCH --nodes=1 | ||
Line 122: | Line 122: | ||
An example is | An example is | ||
- | < | + | < |
#!/bin/bash | #!/bin/bash | ||
#SBATCH --job-name=simple_mapreduce | #SBATCH --job-name=simple_mapreduce |