Configure Hadoop
Now that Hadoop has been unpacked, we are ready to configure it.
- Open a new Cygwin window and execute the following commands:
cd hadoop-0.19.1
cd conf
explorer .
Bringing up explorer window
- The last command will cause the Explorer window for the 'conf' directory to pop up. Minimize it for now or move it to the side.
- Launch Eclipse.
- Bring up the 'conf' Explorer window opened in Step 2 and drag the filehadoop-site to the Eclipse main window.
- Insert the following lines between <configuration> and </configuration>tags.
<property> <name>fs.default.name</name> <value>hdfs://localhost:9100</value> </property> <property> <name>mapred.job.tracker</name> <value>localhost:9101</value> </property> <property> <name>dfs.replication</name> <value>1</value> </property>
Editing site configuration file
- Close the Eclipse, Cygwin command and Explorer windows.

No comments:
Post a Comment
Please feel free to contact or comment the article