0
votes

i have an issue running Spark on my machine, i downloaded and installed JDK, did setup the environment variables as follows:

User variables: C:\Windows\System32;%JAVA_HOME%\BIN; %HADOOP_HOME%; %SPARK_HOME%

System Variables: HADOOP_HOME C:\Users\IBM_ADMIN\Box Sync\Data Science\winutils

JAVA_HOME C:\Program Files\Java\jdk1.8.0_91

SPARK_HOME C:\Users\IBM_ADMIN\Box Sync\Data Science\Spark\spark-1.6.1-bin-hadoop2.6\bin

Read quote a lot of posts and could not find a solution of my issue. The error i am getting is the below enter image description here

1

1 Answers

1
votes

Spark only handles spaces in paths in Windows command scripts since v2.0.0-rc1.

Since version 2 doesn't yet have a stable release, unless you're willing to install a preview version you will need to either rename your folders from "Box Sync" and "Data Science" to something which doesn't contain spaces or copy the changes to support spaces into your Spark source code.