diff --git a/bin/kyuubi b/bin/kyuubi index 02672323f..edd5465ed 100755 --- a/bin/kyuubi +++ b/bin/kyuubi @@ -74,19 +74,6 @@ if [[ -z ${JAVA_HOME} ]]; then exit 1 fi -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 - RUNNER="${JAVA_HOME}/bin/java" ## Find the Kyuubi Jar