Beruflich Dokumente
Kultur Dokumente
Procedure
Configuration
Step 1 Windows path configuration
set HADOOP_HOME path in enviornment variable for windows
Right click on my computer > properties > advanced system settings >
advance tab > environment variables > click on new
F:/Hortanwork/1gbhadoopram/Software/hadoop-2.7/hadoop-2.7.1/bin
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
</property>
</configuration>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
</configuration>
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
<property>
<name>dfs.namenode.name.dir</name>
<value>F:/Hortanwork/1gbhadoopram/Software/hadoop-
2.7/hadoop-2.7.1/data/namenode</value>
</property>
<property>
<name>dfs.datanode.data.dir</name>
<value>F:/Hortanwork/1gbhadoopram/Software/hadoop-
2.7/hadoop-2.7.1/data/datanode</value>
</property>
</configuration>
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
<property>
<name>yarn.nodemanager.aux-
services.mapreduce.shuffle.class</name>
<value>org.apache.hadoop.mapred.ShuffleHandler</value>
</property>
</configuration>
F:Hortanwork1gbhadoopramSoftwarehadoop-2.7hadoop-
2.7.1sbin>start-all.cmd
Demo
Step 3 Start everything
Very Important step
Before starting everything you need to add some [dot].dll and [dot].exe files of
windows please download bin folder from my github repository
-sardetushar_gitrepo_download
bin folder this contains .dll and .exe file (winutils.exe for hadoop 2.7.1)
Now delete you existing bin folder and replace with new one (downloaded from my repo
)
( my github ) etc folder is just given for reference you need to modify your
configuration parameters according to your environment path
Open cmd and type hdfs namenode -format after execution you will see below
logs
F:Hortanwork1gbhadoopramSoftwarehadoop-2.7hadoop-2.7.1sbin>start-
all.cmd