[ https://issues.apache.org/jira/browse/SPARK-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14325533#comment-14325533 ]
saravanan edited comment on SPARK-5389 at 2/18/15 7:31 AM: ----------------------------------------------------------- I got the same issue in windows 7 and i set the PATH with only required folder details and removed some of the path not required for spark and it worked for me. Below is the PATH which i set in DOS prompt: ---------------------------------------------------------- PATH=C:\Program Files\Java\jdk1.7.0_72\bin;C:\Program Files\MKS Toolkit\mksnt;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\Windows;C:\Windows\System32;C:\Windows\System32\wbem;C:\Program Files (x86)\nodejs\; Below is the PATH which i removed from the existing PATH variables: ---------------------------------------------------------------------------------------- C:\Program Files\Java\jdk1.8.0_05/bin;C:\Python33\; C:\IBM\InformationServer\ASBNode\apps\jre\bin\classic;C:\IBM\InformationServer\ASBNode\lib\cpp;C:\IBM\InformationServer\ASBNode\apps\proxy\cpp\vc60\MT_dll\bin; c:\Program Files\Microsoft SQL Server\100\DTS\Binn\; c:\Program Files\Microsoft SQL Server\100\Tools\Binn\; c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\; C:\Program Files\Java\jdk1.6.0_45\bin; Note : I am using spark version 1.2.0. Thanks, NS Saravanan was (Author: saravanan303): I got the same issue in windows 7 and i set the PATH with only required folder details and removed some of the path not required for spark and it worked for me. Below is the PATH which i set in DOS prompt: ---------------------------------------------------------- PATH=C:\Program Files\Java\jdk1.7.0_72\bin;C:\Program Files\MKS Toolkit\mksnt;C:\PROGRA~1\MKSTOO~1\bin;C:\PROGRA~1\MKSTOO~1\bin\X11;C:\PROGRA~1\MKSTOO~1\mksnt;C:\Windows;C:\Windows\System32;C:\Windows\System32\wbem;C:\Program Files (x86)\nodejs\; Below is the PATH which i removed from the existing PATH variables: C:\Program Files\Java\jdk1.8.0_05/bin;C:\Python33\; C:\IBM\InformationServer\ASBNode\apps\jre\bin\classic;C:\IBM\InformationServer\ASBNode\lib\cpp;C:\IBM\InformationServer\ASBNode\apps\proxy\cpp\vc60\MT_dll\bin; c:\Program Files\Microsoft SQL Server\100\DTS\Binn\; c:\Program Files\Microsoft SQL Server\100\Tools\Binn\; c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\; C:\Program Files\Java\jdk1.6.0_45\bin; Note : I am using spark version 1.2.0. Thanks, NS Saravanan > 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: Spark Shell > Affects Versions: 1.2.0 > Reporter: Yana Kadiyska > Priority: Trivial > Attachments: SparkShell_Win7.JPG > > > 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 sine calling spark-shell2.cmd also works fine > Attaching a screenshot since the error isn't very useful: > spark-1.2.0-bin-cdh4>bin\spark-shell.cmd > else was unexpected at this time. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org