]> code.communitydata.science - cdsc_reddit.git/blob - submissions_2_parquet.sh
Build comments dataset similarly to submissions and improve partitioning scheme
[cdsc_reddit.git] / submissions_2_parquet.sh
1 #!/usr/bin/env bash
2
3 echo "!#/usr/bin/bash" > job_script.sh
4 echo "source $(pwd)/../bin/activate" >> job_script.sh
5 echo "python3 $(pwd)/submissions_2_parquet_part1.py" >> job_script.sh
6
7 srun -p comdata -A comdata --nodes=1 --mem=120G --time=48:00:00 job_script.sh
8
9 start_spark_and_run.sh 1 $(pwd)/submissions_2_parquet_part2.py
10
11

Community Data Science Collective || Want to submit a patch?