aboutsummaryrefslogtreecommitdiff
path: root/bin/spark-shell.cmd
diff options
context:
space:
mode:
authorAndrew Or <andrewor14@gmail.com>2014-05-12 17:39:40 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-05-12 17:39:40 -0700
commitbeb9cbaca6dbbcaba77a34df692dc2e56b3e0638 (patch)
tree9004c555926ee7188e5fbd4864c8f92e192b0ab3 /bin/spark-shell.cmd
parent4b31f4ec7efab8eabf956284a99bfd96a58b79f7 (diff)
downloadspark-beb9cbaca6dbbcaba77a34df692dc2e56b3e0638.tar.gz
spark-beb9cbaca6dbbcaba77a34df692dc2e56b3e0638.tar.bz2
spark-beb9cbaca6dbbcaba77a34df692dc2e56b3e0638.zip
[SPARK-1736] Spark submit for Windows
Tested on Windows 7. Author: Andrew Or <andrewor14@gmail.com> Closes #745 from andrewor14/windows-submit and squashes the following commits: c0b58fb [Andrew Or] Allow spaces in parameters 162e54d [Andrew Or] Merge branch 'master' of github.com:apache/spark into windows-submit 91597ce [Andrew Or] Make spark-shell.cmd use spark-submit.cmd af6fd29 [Andrew Or] Add spark submit for Windows
Diffstat (limited to 'bin/spark-shell.cmd')
-rwxr-xr-xbin/spark-shell.cmd5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/spark-shell.cmd b/bin/spark-shell.cmd
index 99799128eb..ca0c722c92 100755
--- a/bin/spark-shell.cmd
+++ b/bin/spark-shell.cmd
@@ -17,7 +17,6 @@ rem See the License for the specific language governing permissions and
rem limitations under the License.
rem
-rem Find the path of sbin
-set BIN=%~dp0..\bin\
+set SPARK_HOME=%~dp0..
-cmd /V /E /C %BIN%spark-class2.cmd org.apache.spark.repl.Main %*
+cmd /V /E /C %SPARK_HOME%\bin\spark-submit.cmd spark-internal %* --class org.apache.spark.repl.Main