# !/bin/sh
cur=$(dirname $0)
spark_home=/opt/spark
hadoop_home=/opt/hadoop
file=$1
if [ -s $file ] ; then
$spark_home/bin/spark-shell --num-executors 18 --executor-cores 2 --master yarn --deploy-mode client -i $file
else
$spark_home/bin/spark-shell --num-executors 18 --executor-cores 2 --master yarn --deploy-mode client
fi
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme