yaooqinn commented on pull request #1013:
URL: https://github.com/apache/incubator-kyuubi/pull/1013#issuecomment-910249542
```shell
if [[ -z ${SPARK_HOME} ]]; then
echo "Error: SPARK_HOME IS NOT SET! CANNOT PROCEED." >&2
exit 1
elif [ ! -d ${SPARK_HOME} ]; then
echo "Error: SPARK_HOME[${SPARK_HOME}] DOES NOT EXIST! CANNOT PROCEED." >&2
exit 1
else
if [[ ! -x "${SPARK_HOME}/bin/spark-submit" ]]; then
echo "Error: INVALID SPARK DISTRIBUTION! CANNOT PROCEED." >&2
exit 1
fi
fi
```
add a new branch for `bin/kyuubi`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]