Hadoop Installation: Sunday, December 13, 2020 1
Hadoop Installation: Sunday, December 13, 2020 1
Steps
VM Setup
– Download VM + Serial Key
– Download Ubuntu Image
• http://www.ubuntu.com/download/desktop
– Install VM
– Create VM using Ubuntu Image
Hadoop Setup
4. Extract Hadoop
tar -xvf hadoop-1.2.1.tar.gz
5. Get IP address using
ifconfig
>> You get 192.168.211.128
Sunday, December 13, 2020 http://etlhive.com 11
Hadoop Installation
6. Edit /etc/hosts file
sudo gedit /etc/hosts
update IP address of local host as shown in example
192.168.211.128 localhost
7. Edit 3 config files
1.Core-site
2.mapred-site
3.hdfs-site
8. Edit core-site.xml for FS default name
sudo gedit hadoop-1.2.1/conf/core-site.xml
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:8020</value>
</property>
<property>
<name>dfs.permissions</name>
<value>false</value>
</property>
Thank You