Add this variable value - C:\Program Files\Java\jre1.8.0_131\bin Variable value: C:\Program Files\Java\jre1.8.0_131\binįind Path system variable and click edit. My Java version installed on the system is jre1.8.0_131. OR you can search for C:\Program Files\Java. You will be using the path of this folder. You will have to again right click on any one of the java files and click on open file location. Right click and click open file location. Add this variable value - C:\Users\Desktop\A\hadoop\binĤc: Create a system variable Variable name: JAVA_HOME Variable value: C:\Users\Desktop\A\hadoopįind Path system variable and click edit. Add this variable value - C:\Users\Desktop\A\spark\bin Step 4: Now, we have to add these folders to the System environment.Ĥa: Create a system variable (not user variable as user variable will inherit all the properties of the system variable) Variable name: SPARK_HOMEįind Path system variable and click edit. Copy this O KB winutils.exe file to your bin folder in spark - C:\Users\Desktop\A\spark\bin Save this empty notepad file as winutils.exe (with Save as type: All files). Let path to the hadoop folder be C:\Users\Desktop\A\hadoop Rename the folder name from Hadoop-2.7.3.tar to hadoop. Unzip it and copy the unzipped folder to the same folder A. Step 2: download the hardoop 2.7.3 tar gz file to the same folder F from this link. Let path to the spark folder be C:\Users\Desktop\A\spark Rename the spark-2.2.0-bin-hadoop2.7 folder to spark. Unzip it and copy the unzipped folder to the desired folder A. Step 1: download the spark 2.2.0 tar (tape Archive) gz file to any folder F from this link.
#How to install spark with hadoop windows 10#
Here are seven steps to install spark on windows 10 and run it from python: