Hadoop for Ubuntu 2
Hadoop for Ubuntu 2
1. Open terminal
2. ./login.sh
/* It will ask for your username and password provided
to you by Bennett to access internet. */
8. wget
https://archive.apache.org/dist/hadoop/core/hadoop-
3.4.0/hadoop-3.4.0.tar.gz
/*download hadoop tar file*/
10. cd /home/hadoop-3.4.0/etc/hadoop
/*browse to this loaction*/ (Note:- this can change user
to user, check accordingly)
11.nano hadoop-env.sh
14. cd /home/hadoop-3.4.0/etc/hadoop
/*To Configuring core-site.xml*/
15. nano core-site.xml
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
</property>
</configuration>
16. cd /home/hadoop-3.4.0/etc/hadoop
/* To Configuring hdfs-site.xml*/
18. cd /home/hadoop-3.4.0/etc/hadoop
<configuration>
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
</configuration>
/* To Configuring yarn-site.xml*/
/*configuration is already present. So copy from the
property part inside configuration*/
/*ctrl o-to save and press enter*/ /*ctrl x - to exit*/
22. cd /home/hadoop-3.4.0
24. sbin/start-all.sh
26. jps
/*SEE for Jps
NodeManager
NameNode
SecondaryNameNode
DataNode
ResourceManager */