

{"id":441,"date":"2016-06-13T14:28:44","date_gmt":"2016-06-13T14:28:44","guid":{"rendered":"http:\/\/data-flair.training\/blogs\/?p=441"},"modified":"2018-11-19T16:16:27","modified_gmt":"2018-11-19T10:46:27","slug":"install-hadoop-2-on-ubuntu","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/","title":{"rendered":"Install Hadoop 2 on Ubuntu 16.0.4 | Apache Hadoop Installation"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:2360,&quot;href&quot;:&quot;http:\\\/\\\/archive.cloudera.com\\\/cdh5\\\/cdh\\\/5\\\/hadoop-2.5.0-cdh5.3.2.tar.gz&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;https:\\\/\\\/archive.cloudera.com\\\/cdh5\\\/cdh\\\/5\\\/hadoop-2.5.0-cdh5.3.2.tar.gz&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<h2>1. Install Hadoop 2 on Ubuntu 16.0.4: Objective<\/h2>\n<p>This document\u00a0describes how to install Hadoop 2 Ubuntu 16.0.4 OS. Single machine Hadoop cluster is also called as Hadoop Pseudo-Distributed Mode. The steps and procedure given in this document to install Hadoop 2 on Ubuntu 16.0.4 and to install Hadoop cluster are very simple and to the point, so that you can\u00a0install Hadoop very easily on Ubuntu 16.0.4 and within some minutes of time. Once the installation is done you can play with Hadoop and its components like <strong><a href=\"http:\/\/data-flair.training\/blogs\/hadoop-mapreduce-tutorial-comprehensive-guide-beginners\/\">MapReduce<\/a> <\/strong>for data processing and <strong><a href=\"http:\/\/data-flair.training\/blogs\/introduction-tutorial-hdfs\/\">HDFS<\/a><\/strong> for data storage.<\/p>\n<div id=\"attachment_42791\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-42791\" class=\"size-full wp-image-42791\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402.jpg\" alt=\"Install Hadoop 2 on Ubuntu 16.0.4 | Apache Hadoop Installation\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402-1024x536.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402-520x272.jpg 520w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-42791\" class=\"wp-caption-text\">Install Hadoop 2 on Ubuntu 16.0.4 | Apache Hadoop Installation<\/p><\/div>\n<h2>2. Steps to Install Hadoop 2 on Ubuntu 16.0.4<\/h2>\n<h3>2.1 Recommended Platform to install Hadoop 2<\/h3>\n<h4>I. Platform Requirements<\/h4>\n<ul>\n<li><strong>Operating system<\/strong>: Ubuntu 16.04 or later, other Linux flavors like CentOS, Redhat, etc.<\/li>\n<li><strong>Hadoop<\/strong>: Cloudera Distribution for Apache Hadoop CDH5.x (you can use Apache Hadoop 2.x)<\/li>\n<\/ul>\n<h4>II. Configure &amp; Setup Platform<\/h4>\n<p>If you are using Windows\/Mac OS you can <a href=\"http:\/\/data-flair.training\/blogs\/install-ubuntu-vmware-player\/\" target=\"_blank\" rel=\"noopener noreferrer\">create virtual machine and install Ubuntu using VMWare Player<\/a>, alternatively, you can <a href=\"http:\/\/data-flair.training\/blogs\/step-by-step-installation-of-ubuntu-on-virtual-box\/\" target=\"_blank\" rel=\"noopener noreferrer\">create virtual machine and install Ubuntu using Oracle Virtual Box<\/a><\/p>\n<h3>2.2. Prerequisites to install Hadoop 2 on Ubuntu<\/h3>\n<p>Following are the important steps you need to follow before you install Hadoop 2 on Ubuntu:<\/p>\n<h4>I. Install Java 8<\/h4>\n<p><strong>a. Install Python Software Properties<\/strong><br \/>\nTo add the java repositories we need to download python-software-properties. To download and install python software properties run below command in terminal:<\/p>\n<p>[php]sudo apt-get install python-software-properties[\/php]<\/p>\n<p><em>NOTE: After you press \u201cEnter\u201d. It will ask for your password since we are using \u201csudo\u201d command to provide root privileges for the installation. For any installation or configuration, we always need root privileges.<\/em><\/p>\n<p><strong>b. Add Repository<\/strong><br \/>\nNow we will add a repository manually from where Ubuntu will install the Java. To add repository type the below command in terminal:<\/p>\n<p>[php]sudo add-apt-repository ppa:webupd8team\/java[\/php]<\/p>\n<p>Now it will ask you to Press [Enter] to continue. Press \u201cEnter\u201d.<\/p>\n<p><strong>c. Update the source list<\/strong><br \/>\nIt is recommended to update the source list periodically. If you want to update, install a new package, always update the source list. The source list is a location from where Ubuntu can download and install the software. To update source list type the below command in terminal:<\/p>\n<p>[php]sudo apt-get update[\/php]<\/p>\n<p>When you run the above command Ubuntu updates its source list.<\/p>\n<p><strong>d. Install Java<\/strong><br \/>\nNow we will download and install the Java. To download and install Java type the below command in terminal:<\/p>\n<p>[php]sudo apt-get install oracle-java8-installer[\/php]<\/p>\n<p>When you will press enter it will start downloading and installing Java.<\/p>\n<p>To confirm Java installation has successfully completed or not and to check the version of your Java type the below command in terminal:<\/p>\n<p>[php]java \u2013version[\/php]<\/p>\n<h4>II. Configure SSH<\/h4>\n<p>SSH means secured shell which is used for the remote login. We can login to a remote machine using SSH. Now we need to configure password less SSH. Password-less SSH means without a password we can login to a remote machine. Password-less SSH setup is required for remote script invocation. Automatically remotely master will start the demons on slaves.<\/p>\n<p><strong>a. Install Open SSH Server-Client<\/strong><br \/>\nThese are the SSH tools.<\/p>\n<p>[php]sudo apt-get install openssh-server openssh-client[\/php]<\/p>\n<p><strong>b. Generate Key Pairs<\/strong><br \/>\n[php]ssh-keygen -t rsa -P &#8220;&#8221;[\/php]<\/p>\n<p>It will ask \u201cEnter the name of file in which to save the key (\/home\/dataflair\/.ssh\/id_rsa):\u201d let it be the default, don\u2019t specify any path just press \u201cEnter\u201d. Now it will be available in the default path i.e. \u201c.ssh\u201d. To check the default path use command \u201c$ls .ssh\/\u201d and you will see that two files are created \u201cid_rsa\u201d which is a private key and \u201cid_rsa.pub\u201d which is a public key.<\/p>\n<p><strong>c. Configure passwordless SSH<\/strong><br \/>\nWe will copy the contents of \u201cid_rsa.pub\u201d into the \u201cauthorized_keys\u201d file by using below command:<\/p>\n<p>[php]cat $HOME\/.ssh\/id_rsa.pub&gt;&gt;$HOME\/.ssh\/authorized_keys[\/php]<\/p>\n<p><strong>d. Check by SSH to localhost<\/strong><br \/>\n[php]ssh localhost[\/php]<\/p>\n<p>It will not ask for any password and you can easily get logged into localhost since we have configured passwordless SSH.<\/p>\n<h3>2.3. Install Hadoop 2 on Ubuntu 16.0.4<\/h3>\n<h4>I. Download Hadoop<\/h4>\n<p>Download Hadoop from the below link:<br \/>\n<a href=\"http:\/\/archive.cloudera.com\/cdh5\/cdh\/5\/hadoop-2.5.0-cdh5.3.2.tar.gz\">http:\/\/archive.cloudera.com\/cdh5\/cdh\/5\/hadoop-2.5.0-cdh5.3.2.tar.gz<\/a><\/p>\n<p>After downloading Hadoop just copy it to your desktop and from desktop move it to your home directory by using the following command:<\/p>\n<p>[php]mv Desktop\/hadoop-2.5.0-cdh5.3.2.tar.gz \/home\/dataflair\/[\/php]<\/p>\n<p><em>Note: \/home\/dataflair\/ is my home directory path.<\/em><br \/>\nTo know the path of your home directory use command: $pwd<br \/>\nCopy this path to the above command and hence the setup file will get moved to your home directory.<\/p>\n<h4>II. Untar Tarball<\/h4>\n<p>[php]tar xzf hadoop-2.5.0-cdh5.3.2.tar.gz[\/php]<br \/>\n<em>Note: All the necessary files like jars, scripts, configuration files, and so on are already available in HADOOP_HOME directory (hadoop-2.5.0-cdh5.3.2).<\/em><\/p>\n<h4>III. Setup Configuration to Install Hadoop 2 on Ubuntu<\/h4>\n<p><strong>a. Edit configuration .bashrc file<\/strong><br \/>\nEdit \u201c.bashrc\u201d file which is present in your home directory. You can identify and edit this file in your home directory by using the following command: $ nano -\/.bashrc\u201d. Now write the below text at the end of this file:<\/p>\n<p>[php]export HADOOP_PREFIX=&#8221;\/home\/dataflair\/hadoop-2.5.0-cdh5.3.2&#8243;<br \/>\nexport PATH=$PATH:$HADOOP_PREFIX\/bin<br \/>\nexport PATH=$PATH:$HADOOP_PREFIX\/sbin<br \/>\nexport HADOOP_MAPRED_HOME=${HADOOP_PREFIX}<br \/>\nexport HADOOP_COMMON_HOME=${HADOOP_PREFIX}<br \/>\nexport HADOOP_HDFS_HOME=${HADOOP_PREFIX}<br \/>\nexport YARN_HOME=${HADOOP_PREFIX}[\/php]<\/p>\n<p><em>Note: Make sure that you enter the correct path. &#8220;\/home\/dataflair\/hadoop-2.5.0-cdh5.3.2\u201d this is my home directory path. To know the path of your home directory use command: $pwd <\/em><\/p>\n<p>After adding the above parameters we need to save this file. To save this file Press \u201cCtrl+X\u201d.<br \/>\n<em>Note: After above step restart the terminal, in order to make all the environment variables will start running<\/em><\/p>\n<p><strong>b. Edit hadoop-env.sh file<\/strong><\/p>\n<p>Edit configuration file \u201chadoop-env.sh&#8221; located in configuration directory (HADOOP_HOME\/etc\/hadoop) and set JAVA_HOME:<\/p>\n<p>[php]dataflair@ubuntu:~$cd hadoop-2.5.0-cdh5.3.2\/<br \/>\ndataflair@ubuntu:\/hadoop-2.5.0-cdh5.3.2$ cd etc\/hadoop<br \/>\ndataflair@ubuntu:\/hadoop-2.5.0-cdh5.3.2\/etc\/hadoop$ nano hadoop-env.sh[\/php]<\/p>\n<p>In this file set JAVA_HOME as:<\/p>\n<p>[php]export JAVA_HOME=&lt;path-to-the-root-of-your-Java-installation&gt; (eg: \/usr\/lib\/jvm\/java-8-oracle\/)[\/php]<br \/>\nAfter adding the above parameters we need to save this file. To save this file press \u201cCtrl+X\u201d.<br \/>\n<em>Note: \u201c\/usr\/lib\/jvm\/java-8-oracle\/\u201d is default Java path. If you had changed your java path then enter your java path here.<\/em><\/p>\n<p><strong>c. Edit core-site.xml file<\/strong><br \/>\nEdit configuration file core-site.xml (located in HADOOP_HOME\/etc\/hadoop) by using the following command:<\/p>\n<p>[php]dataflair@ubuntu:\/hadoop-2.5.0-cdh5.3.2\/etc\/hadoop$ nano core-site.xml[\/php]<\/p>\n<p>And add below entries between &lt;configuration&gt; &lt;\/configuration&gt; at the end of this file:<\/p>\n<p>[php]&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\/dataflair\/hdata&lt;\/value&gt;<br \/>\n&lt;\/property&gt;<br \/>\n[\/php]<\/p>\n<p><em>Note: <\/em><em>\u201c\/home\/dataflair\/hdata\u201d is my location; please insert the location where you have Read and Write privileges.<\/em><br \/>\nAfter adding the above parameters we need to save this file. To save this file press \u201cCtrl+X\u201d.<\/p>\n<p><strong>d. Edit hdfs-site.xml file<\/strong><br \/>\nEdit configuration file hdfs-site.xml (located in HADOOP_HOME\/etc\/hadoop) by using the following command:<\/p>\n<p>[php]dataflair@ubuntu:\/hadoop-2.5.0-cdh5.3.2\/etc\/hadoop$ nano hdfs-site.xml[\/php]<\/p>\n<p>And add below entries between &lt;configuration&gt; &lt;\/configuration&gt; at the end of this file:<\/p>\n<p>[php]&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[\/php]<\/p>\n<p>After adding the above parameters we need to save this file. To save this file press \u201cCtrl+X\u201d.<\/p>\n<p><strong>e. Edit mapred-site.xml file<\/strong><br \/>\nEdit configuration file mapred-site.xml (located in HADOOP_HOME\/etc\/hadoop) by using the following command:<br \/>\n<em>Note: There is no such file present in your home directory as mapred-site.xml. There is a template file available as mapred-site.xml.template. So to edit file mapred-site.xml you have to first create a copy of file mapred-site.xml.template. <\/em><br \/>\nTo make a copy of this file use the following command:<\/p>\n<p>[php]dataflair@ubuntu:\/hadoop-2.5.0-cdh5.3.2\/etc\/hadoop$ cp mapred-site.xml.template mapred-site.xml[\/php]<\/p>\n<p>Now edit the file mapred-site.xml by using the following command:<\/p>\n<p>[php]dataflair@ubuntu:\/hadoop-2.5.0-cdh5.3.2\/etc\/hadoop$ nano mapred-site.xml[\/php]<\/p>\n<p>Now add below entries between at the end of this file:<\/p>\n<p>[php]&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;[\/php]<\/p>\n<p><strong>f. Edit yarn-site.xml file<\/strong><br \/>\nEdit configuration file <a href=\"http:\/\/data-flair.training\/blogs\/hadoop-yarn-tutorial\/\">yarn<\/a>-site.xml (located in HADOOP_HOME\/etc\/hadoop) by using the following command:<br \/>\n[php]dataflair@ubuntu:\/hadoop-2.5.0-cdh5.3.2\/etc\/hadoop$ nano yarn-site.xml[\/php]<br \/>\nAnd add below entries between at the end of this file:<br \/>\n[php]&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;[\/php]<\/p>\n<h4>IV. Start the Cluster<\/h4>\n<p><strong>a. Format the name node<\/strong><br \/>\n[php]dataflair@ubuntu:~$ hdfs namenode -format[\/php]<br \/>\n<em>NOTE: Do this activity only once when you had successfully installed Hadoop, else it will delete all your data from <strong><a href=\"http:\/\/data-flair.training\/blogs\/most-used-hdfs-commands-examples\/\">HDFS<\/a><\/strong>.<\/em><\/p>\n<p><strong>b. Start HDFS Services<\/strong><br \/>\n[php]dataflair@ubuntu:~$ start-dfs.sh[\/php]<\/p>\n<p><strong>c. Start YARN Services<\/strong><br \/>\n[php]dataflair@ubuntu:~$ start-yarn.sh[\/php]<\/p>\n<p><strong>d. Check running Hadoop services<\/strong><br \/>\n[php]dataflair@ubuntu:~$ jps<br \/>\nNameNode<br \/>\nDataNode<br \/>\nResourceManager<br \/>\nNodeManager[\/php]<\/p>\n<p><strong>See Also-<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/data-flair.training\/blogs\/install-configure-apache-hadoop-2-7-x-on-ubuntu\/\" target=\"_blank\" rel=\"noopener noreferrer\">Install &amp; Configure Apache Hadoop 2.7.x on Ubuntu<\/a><\/li>\n<li><a href=\"http:\/\/data-flair.training\/blogs\/install-hadoop-1-x-on-multi-node-cluster\/\" target=\"_blank\" rel=\"noopener noreferrer\">Install Hadoop 1.x on multi-node cluster<\/a><\/li>\n<li><a href=\"http:\/\/data-flair.training\/blogs\/top-hdfs-commands-tutorial\/\" target=\"_blank\" rel=\"noopener noreferrer\">Top 10 Useful Hdfs Commands Part-I<\/a><\/li>\n<li><a href=\"http:\/\/data-flair.training\/blogs\/difference-comparison-hadoop-2-x-vs-hadoop-3-x\/\">Comparison between Hadoop 2.x vs Hadoop 3.x<\/a><\/li>\n<\/ul>\n<p>Hope the tutorial on Install Hadoop 2 on Ubuntu was helpful. For any difficulties while you install Hadoop 2 on Ubuntu just drop a comment and our support team will help you out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Install Hadoop 2 on Ubuntu 16.0.4: Objective This document\u00a0describes how to install Hadoop 2 Ubuntu 16.0.4 OS. Single machine Hadoop cluster is also called as Hadoop Pseudo-Distributed Mode. The steps and procedure given&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":42791,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[782,1971,2589,2877,5186,5201,5204,5233,5239,5252,5267,5341,8140,12797],"class_list":["post-441","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hadoop","tag-apache-hadoop","tag-big-data-training","tag-cloudera-hadoop","tag-configure-hadoop","tag-hadoop","tag-hadoop-admin","tag-hadoop-administration","tag-hadoop-configuration","tag-hadoop-deployment","tag-hadoop-for-beginners","tag-hadoop-installation","tag-hadoop-training","tag-learn-hadoop","tag-setup-hadoop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install Hadoop 2 on Ubuntu 16.0.4 | Apache Hadoop Installation - DataFlair<\/title>\n<meta name=\"description\" content=\"Install Hadoop 2 on Ubuntu 16.04, Configure Hadoop CDH5 on ubuntu-Install Cloudera Hadoop, Install hadoop cluster and Configure Passwordless SSH\" \/>\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-2-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 2 on Ubuntu 16.0.4 | Apache Hadoop Installation - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Install Hadoop 2 on Ubuntu 16.04, Configure Hadoop CDH5 on ubuntu-Install Cloudera Hadoop, Install hadoop cluster and Configure Passwordless SSH\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/install-hadoop-2-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=\"2016-06-13T14:28:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-19T10:46:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402.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=\"8 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Hadoop 2 on Ubuntu 16.0.4 | Apache Hadoop Installation - DataFlair","description":"Install Hadoop 2 on Ubuntu 16.04, Configure Hadoop CDH5 on ubuntu-Install Cloudera Hadoop, Install hadoop cluster and Configure Passwordless SSH","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-2-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"Install Hadoop 2 on Ubuntu 16.0.4 | Apache Hadoop Installation - DataFlair","og_description":"Install Hadoop 2 on Ubuntu 16.04, Configure Hadoop CDH5 on ubuntu-Install Cloudera Hadoop, Install hadoop cluster and Configure Passwordless SSH","og_url":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2016-06-13T14:28:44+00:00","article_modified_time":"2018-11-19T10:46:27+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402.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":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Install Hadoop 2 on Ubuntu 16.0.4 | Apache Hadoop Installation","datePublished":"2016-06-13T14:28:44+00:00","dateModified":"2018-11-19T10:46:27+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/"},"wordCount":1685,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402.jpg","keywords":["apache hadoop","big data training","Cloudera Hadoop","configure hadoop","hadoop","hadoop admin","Hadoop Administration","hadoop configuration","Hadoop Deployment","Hadoop for Beginners","hadoop installation","hadoop training","learn hadoop","setup hadoop"],"articleSection":["Hadoop Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/","url":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/","name":"Install Hadoop 2 on Ubuntu 16.0.4 | Apache Hadoop Installation - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402.jpg","datePublished":"2016-06-13T14:28:44+00:00","dateModified":"2018-11-19T10:46:27+00:00","description":"Install Hadoop 2 on Ubuntu 16.04, Configure Hadoop CDH5 on ubuntu-Install Cloudera Hadoop, Install hadoop cluster and Configure Passwordless SSH","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-on-ubuntu\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-Installation-768x402.jpg","width":1200,"height":628,"caption":"Install Hadoop 2 on Ubuntu 16.0.4 | Apache Hadoop Installation"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/install-hadoop-2-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 2 on Ubuntu 16.0.4 | Apache Hadoop Installation"}]},{"@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\/441","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=441"}],"version-history":[{"count":4,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/441\/revisions"}],"predecessor-version":[{"id":42792,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/441\/revisions\/42792"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/42791"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}