

{"id":4741,"date":"2017-11-08T08:40:24","date_gmt":"2017-11-08T08:40:24","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=4741"},"modified":"2018-11-20T12:21:13","modified_gmt":"2018-11-20T06:51:13","slug":"install-hadoop-on-ubuntu","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/","title":{"rendered":"Install Hadoop on Ubuntu | Hadoop Installation Steps"},"content":{"rendered":"<h2>1. Install Hadoop on Ubuntu Tutorial: Objective<\/h2>\n<p><span style=\"font-weight: 400\">This article explains how to install Hadoop on Ubuntu in simple steps. Moreover, we will deploy Hadoop on the single node cluster on Ubuntu Linux. We will also enable YARN on the cluster while installation.<\/span><\/p>\n<div id=\"attachment_42878\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-42878\" class=\"size-full wp-image-42878\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8.jpg\" alt=\"Install Hadoop on Ubuntu | Hadoop Installation Steps\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8-1024x536.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8-520x272.jpg 520w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-42878\" class=\"wp-caption-text\">Install Hadoop on Ubuntu | Hadoop Installation Steps<\/p><\/div>\n<h2>2. Hadoop Overview\u00a0<b>\u00a0<\/b><\/h2>\n<p><span style=\"font-weight: 400\">Hadoop is a framework for running distributed computing programs. It comprises of <a href=\"https:\/\/data-flair.training\/blogs\/hadoop-hdfs-tutorial\/\"><strong>HDFS<\/strong><\/a> and <a href=\"https:\/\/data-flair.training\/blogs\/hadoop-mapreduce-tutorial\/\"><strong>Map Reduce<\/strong><\/a> (Programming framework).<\/span><br \/>\n<span style=\"font-weight: 400\">The user can run only the MapReduce program in the earlier versions of Hadoop. Therefore, it was fit for batch processing computations.<\/span><br \/>\n<span style=\"font-weight: 400\">The <a href=\"https:\/\/data-flair.training\/blogs\/hadoop-yarn-tutorial\/\"><strong>YARN<\/strong><\/a> provides API for requesting and allocating resource in the cluster. So the YARN is available in later versions of Hadoop 2. Hence, the API facilitates application program to process large-scale data of HDFS. <\/span><\/p>\n<h2>3. Prerequisites to Install Hadoop on Ubuntu<\/h2>\n<ul>\n<li style=\"font-weight: 400\"><b>Hardware requirement-\u00a0<\/b>The machine must have 4GB RAM and minimum 60 GB hard disk for better performance.<\/li>\n<li><b>Check java version-\u00a0<\/b>It is recommended to install Oracle Java 8. If you are not aware of Java installation, follow this <a href=\"https:\/\/data-flair.training\/blogs\/install-java-8-on-ubuntu\/\"><strong>Java 8 installation tutorial<\/strong><\/a>. The user can check the version of java with below command.<\/li>\n<\/ul>\n<p>[php]$ java -version[\/php]<\/p>\n<h2>4. Easy Steps to install Hadoop on Ubuntu<\/h2>\n<p>Lets now discuss the steps to install Hadoop single node cluster on Ubuntu-<\/p>\n<h3>4.1. Setup passwordless ssh<\/h3>\n<h4>a) Install Open SSH Server and Open SSH Client<\/h4>\n<p>We will now setup the passwordless ssh client with the following command.<br \/>\n[php]sudo apt-get install openssh-server openssh-client[\/php]<\/p>\n<div id=\"attachment_4742\" style=\"width: 742px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/sshkeygen-3-img3.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4742\" class=\"wp-image-4742 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/sshkeygen-3-img3.png\" alt=\"Install Hadoop on Ubuntu - Open SSH Server and Open SSH Client\" width=\"732\" height=\"438\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/sshkeygen-3-img3.png 732w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/sshkeygen-3-img3-150x90.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/sshkeygen-3-img3-300x180.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/a><p id=\"caption-attachment-4742\" class=\"wp-caption-text\">Install Hadoop on Ubuntu &#8211; Open SSH Server and Open SSH Client<\/p><\/div>\n<h4>b) Generate Public &amp; Private Key Pairs<\/h4>\n<p>[php]ssh-keygen -t rsa -P &#8220;&#8221;[\/php]<br \/>\n<span style=\"font-weight: 400\">The terminal will prompt the user for entering the file name. Press enter and proceed. The location of a file will be in the home directory. Moreover, the extension will be the .ssh file.<\/span><\/p>\n<h4>c) Configure password-less SSH<\/h4>\n<p><span style=\"font-weight: 400\">The below command will add the public ssh-key to authorized_keys. Moreover, it will configure the passwordless ssh.<\/span><br \/>\n[php]cat $HOME\/.ssh\/id_rsa.pub &gt;&gt; $HOME\/.ssh\/authorized_keys[\/php]<\/p>\n<div id=\"attachment_4743\" style=\"width: 742px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/ssh-passwordless-img4.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4743\" class=\"wp-image-4743 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/ssh-passwordless-img4.png\" alt=\"Install Hadoop on Ubuntu - Configure password-less SSH\" width=\"732\" height=\"438\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/ssh-passwordless-img4.png 732w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/ssh-passwordless-img4-150x90.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/ssh-passwordless-img4-300x180.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/a><p id=\"caption-attachment-4743\" class=\"wp-caption-text\">Install Hadoop on Ubuntu &#8211; Configure password-less SSH<\/p><\/div>\n<p>Also see <a title=\"What is Hadoop Cluster | Hadoop Cluster Architecture\" href=\"https:\/\/data-flair.training\/blogs\/hadoop-cluster\/\" rel=\"bookmark\">What is Hadoop Cluster | Hadoop Cluster Architecture<\/a><\/p>\n<h4>d) Now verify the working of password-less ssh<\/h4>\n<p><span style=\"font-weight: 400\"> As we type the \u201cssh localhost\u201d it will prompt us to connect with it. Type \u2018yes\u2019 and press enter to proceed.<\/span><\/p>\n<h4>e) Now install rsync with command<\/h4>\n<p>[php]$ sudo apt-get install rsync[\/php]<\/p>\n<div id=\"attachment_4746\" style=\"width: 725px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/rsync-img7.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4746\" class=\"wp-image-4746 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/rsync-img7.png\" alt=\"Install rsync\" width=\"715\" height=\"123\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/rsync-img7.png 715w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/rsync-img7-150x26.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/rsync-img7-300x52.png 300w\" sizes=\"auto, (max-width: 715px) 100vw, 715px\" \/><\/a><p id=\"caption-attachment-4746\" class=\"wp-caption-text\">Install Hadoop on Ubuntu | Install rsync<\/p><\/div>\n<h3>4.2. Configure and Setup Hadoop<\/h3>\n<h4>a) Download the Hadoop package 2.8.x<\/h4>\n<p>Use the link given below to download the Hadoop 2.8.x from Apache mirrors.<br \/>\n<a href=\"http:\/\/www-eu.apache.org\/dist\/hadoop\/common\/hadoop-2.8.2\/\"><span style=\"font-weight: 400\">http:\/\/www-eu.apache.org\/dist\/hadoop\/common\/hadoop-2.8.2\/<\/span><\/a><\/p>\n<h4>b) Untar the Tarball<\/h4>\n<p>Then we will extract the Hadoop into the home directory<br \/>\n[php]tar xzf hadoop-2.8.2.tar.gz[\/php]<\/p>\n<div id=\"attachment_4744\" style=\"width: 742px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/installing-hadoop-img5.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4744\" class=\"wp-image-4744 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/installing-hadoop-img5.png\" alt=\"how to install hadoop on Ubuntu - Untar the Tarball\" width=\"732\" height=\"438\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/installing-hadoop-img5.png 732w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/installing-hadoop-img5-150x90.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/installing-hadoop-img5-300x180.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/a><p id=\"caption-attachment-4744\" class=\"wp-caption-text\">how to install hadoop on Ubuntu &#8211; Untar the Tarball<\/p><\/div>\n<h3>4.3. Setup Configuration<\/h3>\n<p><span style=\"font-weight: 400\">We can add only the minimum property in the Hadoop configuration. The user can add more properties to it.<\/span><\/p>\n<h4>a) Setting Up the environment variables<\/h4>\n<ul>\n<li><b>Edit .bashrc-\u00a0<\/b>Edit the bashrc and therefore add hadoop in a path:<\/li>\n<\/ul>\n<p>[php]nano bash.bashrc[\/php]<br \/>\n<span style=\"font-weight: 400\">And add the following path variables in it<\/span><br \/>\n[php]export HADOOP_HOME=\/home\/hduser\/hadoop-2.8.2<br \/>\nexport HADOOP_INSTALL=$HADOOP_HOME<br \/>\nexport HADOOP_MAPRED_HOME=$HADOOP_HOME<br \/>\nexport HADOOP_COMMON_HOME=$HADOOP_HOME<br \/>\nexport HADOOP_HDFS_HOME=$HADOOP_HOME<br \/>\nexport YARN_HOME=$HADOOP_HOME<br \/>\nexport HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME\/lib\/native<br \/>\nexport PATH=$PATH:$HADOOP_HOME\/sbin:$HADOOP_HOME\/bin[\/php]<\/p>\n<div id=\"attachment_4745\" style=\"width: 745px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/editbashrc-img6.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4745\" class=\"wp-image-4745 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/editbashrc-img6.png\" alt=\"Hadoop Installation - Edit .bashrc\" width=\"735\" height=\"576\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/editbashrc-img6.png 735w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/editbashrc-img6-150x118.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/editbashrc-img6-300x235.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/a><p id=\"caption-attachment-4745\" class=\"wp-caption-text\">Hadoop Installation &#8211; Edit .bashrc<\/p><\/div>\n<ul>\n<li><b>Source .bashrc in current login session in terminal<\/b><\/li>\n<\/ul>\n<p>[php]source ~\/.bashrc[\/php]<\/p>\n<p>Also see <a title=\"HBase Compaction and Data Locality in Hadoop\" href=\"https:\/\/data-flair.training\/blogs\/hbase-compaction\/\" rel=\"bookmark\">HBase Compaction and Data Locality in Hadoop<\/a><\/p>\n<h4>b)\u00a0Hadoop configuration file changes<\/h4>\n<ul>\n<li><b>Edit hadoop-env.sh<\/b><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Edit hadoop-env.sh file which is in etc\/hadoop inside the Hadoop installation directory. The user can set JAVA_HOME:<\/span><br \/>\n[php]export JAVA_HOME=&lt;root directory of Java-installation&gt; (eg: \/usr\/lib\/jvm\/jdk1.8.0_151\/)[\/php]<\/p>\n<div id=\"attachment_4747\" style=\"width: 745px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/envsh-img8.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4747\" class=\"wp-image-4747 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/envsh-img8.png\" alt=\"Edit hadoop-env.sh\" width=\"735\" height=\"576\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/envsh-img8.png 735w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/envsh-img8-150x118.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/envsh-img8-300x235.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/a><p id=\"caption-attachment-4747\" class=\"wp-caption-text\">Edit hadoop-env.sh<\/p><\/div>\n<ul>\n<li><b>Edit core-site.xml<\/b><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Edit the core-site.xml with \u201cnano core-site.xml\u201d. The file is in the etc\/hadoop inside Hadoop directory. Then we will add following entries.<\/span><br \/>\n[php]&lt;configuration&gt;<br \/>\n&lt;property&gt;<br \/>\n&lt;name&gt;fs.defaultFS&lt;\/name&gt;<br \/>\n&lt;value&gt;hdfs:\/\/localhost:9000&lt;\/value&gt;<br \/>\n&lt;\/property&gt;<br \/>\n&lt;property&gt;<br \/>\n&lt;name&gt;hadoop.tmp.dir&lt;\/name&gt;<br \/>\n&lt;value&gt;\/home\/hdadmin\/hdata&lt;\/value&gt;<br \/>\n&lt;\/property&gt;<br \/>\n&lt;\/configuration&gt;[\/php]<\/p>\n<div id=\"attachment_4748\" style=\"width: 745px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/coresite-img9.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4748\" class=\"wp-image-4748 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/coresite-img9.png\" alt=\"Hadoop 2 Installation - Edit core-site.xml\" width=\"735\" height=\"576\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/coresite-img9.png 735w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/coresite-img9-150x118.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/coresite-img9-300x235.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/a><p id=\"caption-attachment-4748\" class=\"wp-caption-text\">Hadoop 2 Installation &#8211; Edit core-site.xml<\/p><\/div>\n<p>Then we will edit the hdfs-site.xml with \u201cnano hdfs-site.xml\u201d. This file is actually located in etc\/hadoop inside Hadoop installation directory. We will add the following entries:<b>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/b><\/p>\n<ul>\n<li><b>Edit hdfs-site.xml<\/b><\/li>\n<\/ul>\n<p>[php]&lt;configuration&gt;<br \/>\n&lt;property&gt;<br \/>\n&lt;name&gt;dfs.replication&lt;\/name&gt;<br \/>\n&lt;value&gt;1&lt;\/value&gt;<br \/>\n&lt;\/property&gt;<br \/>\n&lt;\/configuration&gt;[\/php]<\/p>\n<div id=\"attachment_4749\" style=\"width: 746px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfssite-img10.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4749\" class=\"wp-image-4749 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfssite-img10.png\" alt=\"Install hadoop on Ubuntu - Edit hdfs-site.xml\" width=\"736\" height=\"576\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfssite-img10.png 736w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfssite-img10-150x117.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfssite-img10-300x235.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/a><p id=\"caption-attachment-4749\" class=\"wp-caption-text\">Install hadoop on Ubuntu &#8211; Edit hdfs-site.xml<\/p><\/div>\n<ul>\n<li><b>Edit mapred-site.xml<\/b><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">We will create a copy of mapred-site.xml from mapred-site.xml.template using cp command (cp mapred-site.xml.template mapred-site.xml). Now edit the mapred-site.xml with \u201cnano command\u201d. This file is also located in etc\/hadoop inside Hadoop directory. We will copy the file with same name mapred-site.xml. This will add following entries:<\/span><br \/>\n[php]&lt;configuration&gt;<br \/>\n&lt;property&gt;<br \/>\n&lt;name&gt;mapreduce.framework.name&lt;\/name&gt;<br \/>\n&lt;value&gt;yarn&lt;\/value&gt;<br \/>\n&lt;\/property&gt;<br \/>\n&lt;\/configuration&gt;[\/php]<\/p>\n<div id=\"attachment_4750\" style=\"width: 745px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/mapred-img11.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4750\" class=\"wp-image-4750 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/mapred-img11.png\" alt=\"Install hadoop on Ubuntu - Edit mapred-site.xml\" width=\"735\" height=\"576\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/mapred-img11.png 735w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/mapred-img11-150x118.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/mapred-img11-300x235.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/a><p id=\"caption-attachment-4750\" class=\"wp-caption-text\">Install hadoop on Ubuntu &#8211; Edit mapred-site.xml<\/p><\/div>\n<ul>\n<li><b>Edit yarn-site.xml<\/b><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">We will now edit yarn-site.xml with \u201cnano yarn-site.xml\u201d. It is in etc\/hadoop inside Hadoop installation directory. Finally we add following entries:<\/span><br \/>\n[php]&lt;configuration&gt;<br \/>\n&lt;property&gt;<br \/>\n&lt;name&gt;yarn.nodemanager.aux-services&lt;\/name&gt;<br \/>\n&lt;value&gt;mapreduce_shuffle&lt;\/value&gt;<br \/>\n&lt;\/property&gt;<br \/>\n&lt;property&gt;<br \/>\n&lt;name&gt;yarn.nodemanager.aux-services.mapreduce.shuffle.class&lt;\/name&gt;<br \/>\n&lt;value&gt;org.apache.hadoop.mapred.ShuffleHandler&lt;\/value&gt;<br \/>\n&lt;\/property&gt;<br \/>\n&lt;\/configuration&gt;[\/php]<\/p>\n<div id=\"attachment_4751\" style=\"width: 745px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/yarn-img12.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4751\" class=\"wp-image-4751 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/yarn-img12.png\" alt=\"Hadoop Installation - Edit yarn-site.xml file.\" width=\"735\" height=\"576\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/yarn-img12.png 735w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/yarn-img12-150x118.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/yarn-img12-300x235.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/a><p id=\"caption-attachment-4751\" class=\"wp-caption-text\">Hadoop Installation &#8211; Edit yarn-site.xml file.<\/p><\/div>\n<p>Also see <a title=\"Unbeatable Apache Hadoop Online Quiz \u2013 Part 10\" href=\"https:\/\/data-flair.training\/blogs\/apache-hadoop-online-quiz-part-10\/\" rel=\"bookmark\">Unbeatable Apache Hadoop Online Quiz \u2013 Part 10<\/a><\/p>\n<h3>4.4. Start the cluster<\/h3>\n<p><span style=\"font-weight: 400\">We will now start the single node cluster with the following commands.<\/span><\/p>\n<h4>a) Format the namenode<\/h4>\n<p><span style=\"font-weight: 400\">Moreover, we will format the namenode before using it the first time.<\/span><br \/>\n[php]hdfs namenode -format[\/php]<\/p>\n<div id=\"attachment_4752\" style=\"width: 1311px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfsformat-img13.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4752\" class=\"wp-image-4752 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfsformat-img13.png\" alt=\"Install Hadoop 2 - Format the Namenode\" width=\"1301\" height=\"744\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfsformat-img13.png 1301w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfsformat-img13-150x86.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfsformat-img13-300x172.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfsformat-img13-768x439.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/hdfsformat-img13-1024x586.png 1024w\" sizes=\"auto, (max-width: 1301px) 100vw, 1301px\" \/><\/a><p id=\"caption-attachment-4752\" class=\"wp-caption-text\">Install Hadoop 2 &#8211; Format the Namenode<\/p><\/div>\n<h4>b) Start the HDFS<\/h4>\n<p><span style=\"font-weight: 400\">We will start the hadoop cluster using the hadoop start-up script. <\/span><br \/>\n[php]start-dfs.sh[\/php]<\/p>\n<div id=\"attachment_4753\" style=\"width: 745px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/dfs.sh-img14.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4753\" class=\"wp-image-4753 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/dfs.sh-img14.png\" alt=\" Hadoop start-up script\" width=\"735\" height=\"576\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/dfs.sh-img14.png 735w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/dfs.sh-img14-150x118.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/dfs.sh-img14-300x235.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/a><p id=\"caption-attachment-4753\" class=\"wp-caption-text\">Hadoop start-up script<\/p><\/div>\n<h4>c) Starting the YARN services<\/h4>\n<p><span style=\"font-weight: 400\">For starting the YARN we use <\/span><br \/>\n[php]start-yarn.sh[\/php]<\/p>\n<div id=\"attachment_4754\" style=\"width: 738px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/yarn.sh-img15.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4754\" class=\"wp-image-4754 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/yarn.sh-img15.png\" alt=\"Apache Hadoop Installation on Ubuntu - Starting the YARN services\" width=\"728\" height=\"406\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/yarn.sh-img15.png 728w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/yarn.sh-img15-150x84.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/yarn.sh-img15-300x167.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/a><p id=\"caption-attachment-4754\" class=\"wp-caption-text\">Apache Hadoop Installation on Ubuntu &#8211; Starting the YARN services<\/p><\/div>\n<h4>d) Verify if all process started<\/h4>\n<p>[php]jps<br \/>\n6775 DataNode<br \/>\n7209 ResourceManager<br \/>\n7017 SecondaryNameNode<br \/>\n6651 NameNode<br \/>\n7339 NodeManager<br \/>\n7663 Jps[\/php]<\/p>\n<div id=\"attachment_4758\" style=\"width: 1311px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/verify.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4758\" class=\"wp-image-4758 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/verify.png\" alt=\"Install Hadoop on Ubuntu\" width=\"1301\" height=\"647\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/verify.png 1301w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/verify-150x75.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/verify-300x149.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/verify-768x382.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/verify-1024x509.png 1024w\" sizes=\"auto, (max-width: 1301px) 100vw, 1301px\" \/><\/a><p id=\"caption-attachment-4758\" class=\"wp-caption-text\">Install Hadoop on Ubuntu<\/p><\/div>\n<h4>e) Web interface-For viewing Web UI of NameNode<\/h4>\n<p><span style=\"font-weight: 400\">visit : (http:\/\/localhost:50070)<\/span><\/p>\n<div id=\"attachment_4755\" style=\"width: 1311px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/webinterface-img16.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4755\" class=\"wp-image-4755 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/webinterface-img16.png\" alt=\"Web interface-For viewing Web UI of NameNode\" width=\"1301\" height=\"647\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/webinterface-img16.png 1301w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/webinterface-img16-150x75.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/webinterface-img16-300x149.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/webinterface-img16-768x382.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/webinterface-img16-1024x509.png 1024w\" sizes=\"auto, (max-width: 1301px) 100vw, 1301px\" \/><\/a><p id=\"caption-attachment-4755\" class=\"wp-caption-text\">Web interface-For viewing Web UI of NameNode<\/p><\/div>\n<p>Also see<a title=\"Hadoop Schedulers Tutorial \u2013 Job Scheduling in Hadoop\" href=\"https:\/\/data-flair.training\/blogs\/hadoop-schedulers\/\" rel=\"bookmark\"> Hadoop Schedulers Tutorial \u2013 Job Scheduling in Hadoop<\/a><\/p>\n<h4>f) Resource Manager UI \u00a0(http:\/\/localhost:8088)<\/h4>\n<p><span style=\"font-weight: 400\">The web interface will display all running jobs on cluster information. Hence, this will help monitor the progress report.<\/span><\/p>\n<div id=\"attachment_4756\" style=\"width: 1311px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/resourcemanager-img17.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4756\" class=\"wp-image-4756 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/resourcemanager-img17.png\" alt=\"Hadoop Installation - Resource Manager UI \" width=\"1301\" height=\"647\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/resourcemanager-img17.png 1301w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/resourcemanager-img17-150x75.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/resourcemanager-img17-300x149.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/resourcemanager-img17-768x382.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/resourcemanager-img17-1024x509.png 1024w\" sizes=\"auto, (max-width: 1301px) 100vw, 1301px\" \/><\/a><p id=\"caption-attachment-4756\" class=\"wp-caption-text\">Hadoop Installation &#8211; Resource Manager UI<\/p><\/div>\n<h3>4.5. Stopping the clusters<\/h3>\n<p><span style=\"font-weight: 400\">To Stop the HDFS Services we use stop-dfs.sh. To Stop YARN Services we use<\/span><br \/>\n[php]stop-yarn.sh[\/php]<\/p>\n<div id=\"attachment_4757\" style=\"width: 1303px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/stopping-nodes-and-yarn-img18.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4757\" class=\"wp-image-4757 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/stopping-nodes-and-yarn-img18.png\" alt=\"Install Hadoop on Ubuntu - Stopping the clusters\" width=\"1293\" height=\"362\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/stopping-nodes-and-yarn-img18.png 1293w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/stopping-nodes-and-yarn-img18-150x42.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/stopping-nodes-and-yarn-img18-300x84.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/stopping-nodes-and-yarn-img18-768x215.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/stopping-nodes-and-yarn-img18-1024x287.png 1024w\" sizes=\"auto, (max-width: 1293px) 100vw, 1293px\" \/><\/a><p id=\"caption-attachment-4757\" class=\"wp-caption-text\">Install Hadoop on Ubuntu &#8211; Stopping the clusters<\/p><\/div>\n<p>You have successfully installed Hadoop 2.8.x on Ubuntu. Now you can play with <a href=\"https:\/\/data-flair.training\/blogs\/what-is-big-data\/\"><strong>big data<\/strong><\/a> using Hadoop <a href=\"https:\/\/data-flair.training\/blogs\/top-hadoop-hdfs-commands-tutorial\/\"><strong>HDFS commands<\/strong><\/a>. For any queries on How to install Hadoop on Ubuntu just drop a comment and we will be back to you.<br \/>\n<strong>See Also-<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/data-flair.training\/blogs\/most-used-hdfs-commands-tutorial-examples\/\">HDFS Commands part 2<\/a><\/li>\n<li><a href=\"https:\/\/data-flair.training\/blogs\/hadoop-hdfs-commands-tutorial\/\">HDFS Commands part 3<\/a><\/li>\n<\/ul>\n<p><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:2194,&quot;href&quot;:&quot;http:\\\/\\\/www-eu.apache.org\\\/dist\\\/hadoop\\\/common\\\/hadoop-2.8.2&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20180213053440\\\/http:\\\/\\\/www-eu.apache.org:80\\\/dist\\\/hadoop\\\/common\\\/hadoop-2.8.2\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-11 02:20:45&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2025-12-14 06:34:16&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2025-12-18 18:41:04&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2025-12-25 16:28:57&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-01-02 17:07:15&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-01-08 10:26:55&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-01-31 06:57:16&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-02-06 03:11:49&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-02-12 09:36:39&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-02-18 07:17:59&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-02-21 07:43:15&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-03-08 15:09:05&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-10 03:49:09&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-21 07:11:37&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-05-07 14:12:37&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-05-21 12:38:26&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-06-26 03:04:26&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-07-01 07:56:24&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-07-13 02:15:58&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-07-27 03:56:42&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-08-03 04:05:10&quot;,&quot;http_code&quot;:503}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-08-03 04:05:10&quot;,&quot;http_code&quot;:503},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Install Hadoop on Ubuntu Tutorial: Objective This article explains how to install Hadoop on Ubuntu in simple steps. Moreover, we will deploy Hadoop on the single node cluster on Ubuntu Linux. We will&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":42878,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[782,1907,1918,5186,5191,5267],"class_list":["post-4741","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hadoop","tag-apache-hadoop","tag-big-data","tag-big-data-hadoop","tag-hadoop","tag-hadoop-2-8-x-installation","tag-hadoop-installation"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install Hadoop on Ubuntu | Hadoop Installation Steps - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn how to install Hadoop on Ubuntu pseudo-distributed mode, Apache Hadoop installation in a single node cluster on Ubuntu OS, prerequisites to install Hadoop on Ubuntu etc\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Hadoop on Ubuntu | Hadoop Installation Steps - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn how to install Hadoop on Ubuntu pseudo-distributed mode, Apache Hadoop installation in a single node cluster on Ubuntu OS, prerequisites to install Hadoop on Ubuntu etc\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-08T08:40:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-20T06:51:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Hadoop on Ubuntu | Hadoop Installation Steps - DataFlair","description":"Learn how to install Hadoop on Ubuntu pseudo-distributed mode, Apache Hadoop installation in a single node cluster on Ubuntu OS, prerequisites to install Hadoop on Ubuntu etc","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"Install Hadoop on Ubuntu | Hadoop Installation Steps - DataFlair","og_description":"Learn how to install Hadoop on Ubuntu pseudo-distributed mode, Apache Hadoop installation in a single node cluster on Ubuntu OS, prerequisites to install Hadoop on Ubuntu etc","og_url":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2017-11-08T08:40:24+00:00","article_modified_time":"2018-11-20T06:51:13+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Install Hadoop on Ubuntu | Hadoop Installation Steps","datePublished":"2017-11-08T08:40:24+00:00","dateModified":"2018-11-20T06:51:13+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/"},"wordCount":1366,"commentCount":4,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8.jpg","keywords":["apache hadoop","big data","big data hadoop","hadoop","hadoop 2.8.x installation","hadoop installation"],"articleSection":["Hadoop Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/","url":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/","name":"Install Hadoop on Ubuntu | Hadoop Installation Steps - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8.jpg","datePublished":"2017-11-08T08:40:24+00:00","dateModified":"2018-11-20T06:51:13+00:00","description":"Learn how to install Hadoop on Ubuntu pseudo-distributed mode, Apache Hadoop installation in a single node cluster on Ubuntu OS, prerequisites to install Hadoop on Ubuntu etc","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2017\/11\/Install-Hadoop-2.8.jpg","width":1200,"height":628,"caption":"Install Hadoop on Ubuntu | Hadoop Installation Steps"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Hadoop Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/hadoop\/"},{"@type":"ListItem","position":3,"name":"Install Hadoop on Ubuntu | Hadoop Installation Steps"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/4741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=4741"}],"version-history":[{"count":8,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/4741\/revisions"}],"predecessor-version":[{"id":42879,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/4741\/revisions\/42879"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/42878"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=4741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=4741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=4741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}