]> code.communitydata.science - cdsc_reddit.git/blobdiff - comments_2_parquet.sh
Build comments dataset similarly to submissions and improve partitioning scheme
[cdsc_reddit.git] / comments_2_parquet.sh
diff --git a/comments_2_parquet.sh b/comments_2_parquet.sh
new file mode 100755 (executable)
index 0000000..802cc70
--- /dev/null
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+echo "!#/usr/bin/bash" > job_script.sh
+echo "source $(pwd)/../bin/activate" >> job_script.sh
+echo "python3 $(pwd)/comments_2_parquet_part1.py" >> job_script.sh
+
+srun -p comdata -A comdata --nodes=1 --mem=120G --time=48:00:00 job_script.sh
+
+start_spark_and_run.sh 1 $(pwd)/comments_2_parquet_part2.py

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