#!/bin/bash -e echo "Testing Shell Action" su yarn --command "bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn --deploy-mode cluster --driver-memory 500m --num-executors 1 --executor-memory 500m --executor-cores 1 examples/jars/spark-examples*.jar 10"