Skip to content
Snippets Groups Projects
Commit f1302566 authored by Masayoshi TSUZUKI's avatar Masayoshi TSUZUKI Committed by Andrew Or
Browse files

[SPARK-3775] Not suitable error message in spark-shell.cmd


Modified some sentence of error message in bin\*.cmd.

Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp>

Closes #2640 from tsudukim/feature/SPARK-3775 and squashes the following commits:

3458afb [Masayoshi TSUZUKI] [SPARK-3775] Not suitable error message in spark-shell.cmd

(cherry picked from commit 358d7ffd)
Signed-off-by: default avatarAndrew Or <andrewor14@gmail.com>
parent 6f150978
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ for %%d in ("%FWDIR%assembly\target\scala-%SCALA_VERSION%\spark-assembly*hadoop* ...@@ -33,7 +33,7 @@ for %%d in ("%FWDIR%assembly\target\scala-%SCALA_VERSION%\spark-assembly*hadoop*
) )
if [%FOUND_JAR%] == [0] ( if [%FOUND_JAR%] == [0] (
echo Failed to find Spark assembly JAR. echo Failed to find Spark assembly JAR.
echo You need to build Spark with sbt\sbt assembly before running this program. echo You need to build Spark before running this program.
goto exit goto exit
) )
:skip_build_test :skip_build_test
......
...@@ -52,7 +52,7 @@ if exist "%FWDIR%RELEASE" ( ...@@ -52,7 +52,7 @@ if exist "%FWDIR%RELEASE" (
) )
if "x%SPARK_EXAMPLES_JAR%"=="x" ( if "x%SPARK_EXAMPLES_JAR%"=="x" (
echo Failed to find Spark examples assembly JAR. echo Failed to find Spark examples assembly JAR.
echo You need to build Spark with sbt\sbt assembly before running this program. echo You need to build Spark before running this program.
goto exit goto exit
) )
......
...@@ -141,7 +141,7 @@ fi ...@@ -141,7 +141,7 @@ fi
if [[ "$1" =~ org.apache.spark.tools.* ]]; then if [[ "$1" =~ org.apache.spark.tools.* ]]; then
if test -z "$SPARK_TOOLS_JAR"; then if test -z "$SPARK_TOOLS_JAR"; then
echo "Failed to find Spark Tools Jar in $FWDIR/tools/target/scala-$SCALA_VERSION/" 1>&2 echo "Failed to find Spark Tools Jar in $FWDIR/tools/target/scala-$SCALA_VERSION/" 1>&2
echo "You need to build spark before running $1." 1>&2 echo "You need to build Spark before running $1." 1>&2
exit 1 exit 1
fi fi
CLASSPATH="$CLASSPATH:$SPARK_TOOLS_JAR" CLASSPATH="$CLASSPATH:$SPARK_TOOLS_JAR"
......
...@@ -98,7 +98,7 @@ for %%d in ("%FWDIR%assembly\target\scala-%SCALA_VERSION%\spark-assembly*hadoop* ...@@ -98,7 +98,7 @@ for %%d in ("%FWDIR%assembly\target\scala-%SCALA_VERSION%\spark-assembly*hadoop*
) )
if "%FOUND_JAR%"=="0" ( if "%FOUND_JAR%"=="0" (
echo Failed to find Spark assembly JAR. echo Failed to find Spark assembly JAR.
echo You need to build Spark with sbt\sbt assembly before running this program. echo You need to build Spark before running this program.
goto exit goto exit
) )
:skip_build_test :skip_build_test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment