An open API service indexing awesome lists of open source software.

https://github.com/zonca/comet-pyspark


https://github.com/zonca/comet-pyspark

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

Interactive pyspark shell on Comet
=================================

* Set `module load python scipy` in `.bashrc`
* Submit `spark` job to SLURM with `qsub spark.cmd`
* Load environment with `source slurm-env.sh` (created after `spark` starts)
* Login to the head node with `ssh $SLURMD_NODENAME`
* Configure the environment with:

source slurm-env.sh
module load spark
source ~/mycluster.conf/spark/spark-env.sh

* Start the interactive console with `pyspark`