

Unfortunately, this happens even if you are using Spark in local mode without utilizing any of the HDFS features directly.Ī. download the 64-bit winutils.exe (106KB)

Java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.This issue is often caused by a missing winutils.exe file that Spark needs in order to initialize the Hive context, which in turn depends on Hadoop, which requires native libraries on Windows to work properly.

Python shell (C:\Spark\bin\pyspark.cmd).Ĥ. You can run of one them, and you will see the following exception: Scala shell (C:\Spark\bin\spark-shell.cmd).ī. It is easy to follow the instructions on and download Spark 1.6.0 (Jan 04 2016) with the “Pre-build for Hadoop 2.6 and later” package type from ģ. Spark has two shells, they are existed in ‘C:\Spark\bin\’ directory :Ī.Then append it to PATH environment variable as ‘% SCALA_HOME%\bin’. In my case it will be ‘C:\Program Files (x86)\scala’. Then append it to PATH environment variable as ‘% JAVA_HOME%\bin’. In my case it will be ‘C:\Program Files\Java\jdk1.7.0_67’. After installation, we need to set the following environment variables:.Scala 2.11.7 ( I installed it on this path ‘C:\Program Files (x86)\scala’.Java Development Kit (JDK either 7 or 8) ( I installed it on this path ‘C:\Program Files\Java\jdk1.7.0_67’).
#INSTALL SPARK ON WINDOWS WITHOUT HADOOP WINDOWS 8#
In this post i will walk through the process of downloading and running Apache Spark on Windows 8 X64 in local mode on a single computer.
