Repository: spark
Updated Branches:
  refs/heads/branch-1.1 6f1509784 -> f13025669


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

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

Author: Masayoshi TSUZUKI <[email protected]>

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 358d7ffd01b4a3fbae313890522cf662c71af6e5)
Signed-off-by: Andrew Or <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/f1302566
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/f1302566
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/f1302566

Branch: refs/heads/branch-1.1
Commit: f1302566985fbd2e300f0a062aa9f420913e9652
Parents: 6f15097
Author: Masayoshi TSUZUKI <[email protected]>
Authored: Fri Oct 3 13:09:48 2014 -0700
Committer: Andrew Or <[email protected]>
Committed: Fri Oct 3 13:10:13 2014 -0700

----------------------------------------------------------------------
 bin/pyspark2.cmd     | 2 +-
 bin/run-example2.cmd | 2 +-
 bin/spark-class      | 2 +-
 bin/spark-class2.cmd | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/f1302566/bin/pyspark2.cmd
----------------------------------------------------------------------
diff --git a/bin/pyspark2.cmd b/bin/pyspark2.cmd
index 2c4b08a..a0e66ab 100644
--- a/bin/pyspark2.cmd
+++ b/bin/pyspark2.cmd
@@ -33,7 +33,7 @@ for %%d in 
("%FWDIR%assembly\target\scala-%SCALA_VERSION%\spark-assembly*hadoop*
 )
 if [%FOUND_JAR%] == [0] (
   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
 )
 :skip_build_test

http://git-wip-us.apache.org/repos/asf/spark/blob/f1302566/bin/run-example2.cmd
----------------------------------------------------------------------
diff --git a/bin/run-example2.cmd b/bin/run-example2.cmd
index b29bf90..b49d0dc 100644
--- a/bin/run-example2.cmd
+++ b/bin/run-example2.cmd
@@ -52,7 +52,7 @@ if exist "%FWDIR%RELEASE" (
 )
 if "x%SPARK_EXAMPLES_JAR%"=="x" (
   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
 )
 

http://git-wip-us.apache.org/repos/asf/spark/blob/f1302566/bin/spark-class
----------------------------------------------------------------------
diff --git a/bin/spark-class b/bin/spark-class
index 22acf92..91b0e30 100755
--- a/bin/spark-class
+++ b/bin/spark-class
@@ -141,7 +141,7 @@ fi
 if [[ "$1" =~ org.apache.spark.tools.* ]]; 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 "You need to build spark before running $1." 1>&2
+    echo "You need to build Spark before running $1." 1>&2
     exit 1
   fi
   CLASSPATH="$CLASSPATH:$SPARK_TOOLS_JAR"

http://git-wip-us.apache.org/repos/asf/spark/blob/f1302566/bin/spark-class2.cmd
----------------------------------------------------------------------
diff --git a/bin/spark-class2.cmd b/bin/spark-class2.cmd
index b606255..19bb777 100644
--- a/bin/spark-class2.cmd
+++ b/bin/spark-class2.cmd
@@ -98,7 +98,7 @@ for %%d in 
("%FWDIR%assembly\target\scala-%SCALA_VERSION%\spark-assembly*hadoop*
 )
 if "%FOUND_JAR%"=="0" (
   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
 )
 :skip_build_test


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to