You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kaveen Raajan (JIRA)" <ji...@apache.org> on 2015/05/21 08:51:00 UTC

[jira] [Commented] (SPARK-5389) spark-shell.cmd does not run from DOS Windows 7

    [ https://issues.apache.org/jira/browse/SPARK-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14553733#comment-14553733 ] 

Kaveen Raajan commented on SPARK-5389:
--------------------------------------

I had the same problem. I found the root cause for this issue. Your JAVA_HOME is not set correctly, Please set this in environment variable correctly. Make sure your java path is not containing any space.

OS - Windows 8 and Windows server 2008

> spark-shell.cmd does not run from DOS Windows 7
> -----------------------------------------------
>
>                 Key: SPARK-5389
>                 URL: https://issues.apache.org/jira/browse/SPARK-5389
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark, Spark Shell, Windows
>    Affects Versions: 1.2.0
>         Environment: Windows 7
>            Reporter: Yana Kadiyska
>         Attachments: SparkShell_Win7.JPG, spark_bug.png
>
>
> spark-shell.cmd crashes in DOS prompt Windows 7. Works fine under PowerShell. 
> spark-shell.cmd works fine for me in v.1.1 so this is new in spark1.2
> Marking as trivial since calling spark-shell2.cmd also works fine
> Attaching a screenshot since the error isn't very useful:
> {code}
> spark-1.2.0-bin-cdh4>bin\spark-shell.cmd
> else was unexpected at this time.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org