#!/bin/bash
log=py_simple.log
rm $log

#spark-submit --master mesos://zk://lcsrlpnd01.cr.usgs.gov:2181,lcsrlpnd02.cr.usgs.gov:2181,lcsrlpnd03.cr.usgs.gov:2181/mesos pyspark_simple.py --num-executors 1 --executor-cores 1  2>&1 | tee $log

spark-submit --master mesos://lcsrlpnd01.cr.usgs.gov:8081 --deploy-mode cluster --py-files pyspark_simple.py file://pyspark_simple.py 2>&1 | tee $log

