

{"id":411,"date":"2016-06-13T12:53:36","date_gmt":"2016-06-13T12:53:36","guid":{"rendered":"http:\/\/data-flair.training\/blogs\/?p=411"},"modified":"2018-11-19T16:13:51","modified_gmt":"2018-11-19T10:43:51","slug":"setup-hadoop-cdh3-on-ubuntu-single-node-cluster","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/","title":{"rendered":"Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster)"},"content":{"rendered":"<h1>1.\u00a0Objective<\/h1>\n<p>This is a Step By Step Guide to Deploy Cloudera Hadoop (CDH3) on Ubuntu. In this tutorial, We will discuss setup and configuration of Cloudera Hadoop CDH3 on Ubuntu through virtual machine\u00a0in Windows. Alternatively you can watch below\u00a0Video tutorial &#8220;Setup Hadoop 1.x on Single Node Cluster on Ubuntu&#8221;<\/p>\n<p>If you are looking to install Hadoop 2.x or Cloudera CDH5 follow this tutorial:\u00a0<a href=\"http:\/\/data-flair.training\/blogs\/install-cloudera-hadoop-cdh5-ubuntu\/\" target=\"_blank\" rel=\"noopener\">Install Cloudera Hadoop CDH5 on Ubuntu<\/a><\/p>\n<div id=\"attachment_42787\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-42787\" class=\"size-full wp-image-42787\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1.jpg\" alt=\"Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster)\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1-1024x536.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1-520x272.jpg 520w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-42787\" class=\"wp-caption-text\">Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster)<\/p><\/div>\n<h1>2. What is Hadoop<\/h1>\n<div id=\"attachment_362\" style=\"width: 550px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Install-Configure-Apache-Hadoop-2.7.x-on-Ubuntu.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-362\" class=\"wp-image-362 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Install-Configure-Apache-Hadoop-2.7.x-on-Ubuntu.png\" alt=\"Apache Hadoop\" width=\"540\" height=\"262\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Install-Configure-Apache-Hadoop-2.7.x-on-Ubuntu.png 540w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Install-Configure-Apache-Hadoop-2.7.x-on-Ubuntu-150x73.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Install-Configure-Apache-Hadoop-2.7.x-on-Ubuntu-300x146.png 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/a><p id=\"caption-attachment-362\" class=\"wp-caption-text\">Apache Hadoop<\/p><\/div>\n<p>Hadoop is a framework that allows distributed processing of large\u00a0data sets across clusters of computers using <a href=\"http:\/\/data-flair.training\/blogs\/hadoop-mapreduce-flow-how-data-flows-in-mapreduce\/\">Map-Reduce programming models<\/a>. It is designed to scale up from single servers to thousand of machines, each offering local computing and storage. Hadoop is 100% open source, and pioneered a fundamentally new way of storing and processing data. Instead of relying on expensive, proprietary hardware and different systems to store and process data, Hadoop enables distributed parallel processing of huge amounts of data across inexpensive, industry-standard servers that both store and process the data, and can scale without limits. With Hadoop, no data is too big.<br \/>\nIn this tutorial we are going to discus the installation of hadoop CDH3 in Pseudo-Distributed Mode:<\/p>\n<h2>3. Prerequisites<\/h2>\n<p>The prerequisites for this tutorial is that you should have the latest Virtual Box (Oracle or VMWare) installed. We will be using the Ubuntu, so firstly we need to install Virtual machine on Windows\u00a0and then <a href=\"http:\/\/data-flair.training\/blogs\/step-by-step-installation-of-ubuntu-on-virtual-box\/\">install Ubuntu on virtual machine<\/a>.<\/p>\n<h2>3.1. Virtual Machine creation (Optional)<\/h2>\n<p>This step is optional if you have Ubuntu machine \/ virtual machine ready, you can skip this step.<br \/>\nCreate the reference virtual machine, with the following parameters. This configuration is according to VMWare virtual machine :<br \/>\nStandard x86-compatible or x86-64-compatible personal computer 500 MHz or faster CPU minimum (500 MHz recommended) Compatible processors include<\/p>\n<h3>3.1.1. Download Virtual environment<\/h3>\n<p>Download virtual machine environment setup. It is open source that means available freely VMware non commercial setup from Official Website of vmware by doing formal registration. Download\u00a0link: <a title=\"Vmware Official Website \" href=\"https:\/\/my.vmware.com\/web\/vmware\/downloads\" target=\"_blank\" rel=\"noopener\">https:\/\/my.vmware.com\/web\/vmware\/downloads<\/a><\/p>\n<h3>3.1.2. Installation of Virtual Machine :<\/h3>\n<p>We can Install\u00a0vmware setup in our\u00a0windows machine, <a href=\"http:\/\/data-flair.training\/blogs\/install-ubuntu-vmware-player\/\">create VM and install Ubuntu<\/a><\/p>\n<h3>3.1.3. Compatible processors include<\/h3>\n<p>Intel: Celeron, Pentium II, Pentium III, Pentium 4, Pentium M (including computers with Centrino\u2122 mobile technology), Xeon\u2122 (including &#8220;Prestonia&#8221;), EM64T\u00a0AMD\u2122: Athlon\u2122, Athlon MP, Athlon XP, Athlon 64, Duron\u2122, Opteron\u2122, Turion\u2122 6<\/p>\n<h3>3.1.4. Multiprocessor systems supported<\/h3>\n<p>AMD Opteron, AMD Athlon 64, AMD Turion 64, AMD Sempron, Intel EM64T; support for 64-bit guest operating systems is available only on the following specific versions of these processors:<br \/>\nAMD Athlon 64, revision D or later AMD Opteron, revision E or later AMD Turion 64, revision E or later AMD Sempron, 64-bit-capable revision D or later (experimental support) Intel EM64T VT-capable processors (experimental support)<\/p>\n<h3>3.1.5. Memory<\/h3>\n<p>512 MB minimum (for leaning purpose (in the production it needs much higher RAM))\u00a0You must have enough memory to run the host operating system, application on host OS, and memory required for guest OS.<\/p>\n<h3>3.1.6. Disk Drives<\/h3>\n<p>Guest operating systems can reside on physical disk partitions or in virtual disk files. In the production environment it is recommended that you should have more number of disk mount points using JBOD.<\/p>\n<h3>3.1.7. Hard Disk<\/h3>\n<p>IDE and SCSI hard drives supported, up to 950GB capacity At least 1GB free disk space recommended for each guest operating system and the application software used with it; if you use a default setup, the actual disk space needs are approximately the same as those for installing and running the guest operating system and applications on a physical computer.<\/p>\n<h3>3.1.8. Host Operating System<\/h3>\n<p>Vmware Workstation \/ Virtual Box is available for both Windows and Linux host operating systems.\u00a0Windows Host Operating Systems (32Bit) \/\u00a0Windows Host Operating Systems (64Bit).\u00a0Linux Host Operating Systems (32-Bit) \/ Linux Host Operating Systems (64-Bit)<\/p>\n<h2>3.2. Install Ubuntu:<\/h2>\n<p>Now Virtual machine environment is ready now we can proceed to install Ubuntu in virtual machine<\/p>\n<h3>3.2.1. Download Ubuntu<\/h3>\n<p>Download Ubuntu Disc Image setup. It is open source so we can download it. (Ubuntu 14.04)<br \/>\n<a href=\"http:\/\/releases.ubuntu.com\/14.04.2\/ubuntu-14.04.2-desktop-i386.iso\">http:\/\/releases.ubuntu.com\/14.04.2\/ubuntu-14.04.2-desktop-i386.iso<\/a><\/p>\n<h3>3.2.2. Ubuntu Installation on Virtual Machine :<\/h3>\n<p>You are just few step away from Ubuntu working in your virtual machine. Now follow the steps:<\/p>\n<ul>\n<li>Open the VMWare virtual machine and\u00a0create a New Virtual Machine Now new pop out window appear<\/li>\n<li>Then select the second option that is Installer disc image file (iso). then drag your Ubuntu Disc Image Setup location from your system then click next<\/li>\n<li>Now new pop out window appear that will ask you fill up detail:<\/li>\n<li>Full Name, User Name, Password and finally Confirm password then click next<\/li>\n<li>Now you will gate one more pop out window that is location inside your system you want to installed your Ubuntu Disc Image Setup click next.<\/li>\n<li>Now you will gate one more pop out window here you need to select 1st option and click next.<\/li>\n<li>Now you will get final window that will signify Installation of Ubuntu Disc Image Setup on vmware virtual<\/li>\n<\/ul>\n<p>Before the installation of Hadoop cdh3 on Ubuntu, we must have Java installed and configure ssh in Ubuntu. So we need to Install java and configure ssh in Ubuntu.<\/p>\n<h2>3.3. Install java:<\/h2>\n<h3>3.3.1. Update the source list<\/h3>\n<p>[php]$ sudo apt-get update<br \/>\n# It will ask for password so enter password[\/php]<br \/>\nDownloads the package lists from the repositories and &#8220;updates&#8221; them to get information on the newest versions of packages and their dependencies. so we need to updated the list by triggering following command on Ubuntu terminal<\/p>\n<h3>3.3.2. Install Open jdk:<\/h3>\n<p>Now install Java on ubutu by triggering following command on Ubuntu \u00a0terminal<br \/>\n[php]# Install Java 6 JDK<br \/>\n$ sudo apt-get install openjdk-6-jdk[\/php]<br \/>\nAfter installation, make a quick check whether JDK is correctly set up.<br \/>\n[php]user@ubuntu:~# java -version<br \/>\njava version &#8220;1.6.0_20&#8221;<br \/>\n[\/php]<\/p>\n<h2>3.4. Configure Password-less SSH:<\/h2>\n<p>Hadoop requires password-less SSH access to manage its nodes, i.e. remote machines plus your local machine if you want to use Hadoop on it. For\u00a0single-node setup of Hadoop, we need to configure SSH access to\u00a0localhost<\/p>\n<h3>3.4.1. Install Open SSH Server-client:<\/h3>\n<p><em>NOTE: we are installing ssh in\u00a0Ubuntu<\/em><br \/>\n[php]$sudo apt-get install openssh-server openssh-client[\/php]<\/p>\n<h3>3.4.2. Generate Key-Value Pairs:<\/h3>\n<p>We have to generate an SSH key value pair<br \/>\n[php]$ssh-keygen -t rsa -P &#8220;&#8221;[\/php]<\/p>\n<h3>3.4.3. Configure password-less SSH:<\/h3>\n<p>Copy the content of Public key to authorized_keys file<br \/>\n[php]$cat $HOME\/.ssh\/id_rsa.pub&gt;&gt;$HOME\/.ssh\/authorized_keys[\/php]<\/p>\n<h3>3.4.4. Check by SSH to localhost:<\/h3>\n<p>The final step is to test the SSH setup by connecting to your local machine<br \/>\n[php]$ssh localhost[\/php]<\/p>\n<h1>4. Install Hadoop:<\/h1>\n<p>Now finally we have install java in Ubuntu and configure ssh then we are ready to install Hadoop cdh3<\/p>\n<h2>4.1. Download Hadoop:<\/h2>\n<p>Here we are going to download Hadoop package and we can extract the package at any desire location<br \/>\nWe can can download Hadoop cloudera \u00a0tar file from archive.cloudera.com<br \/>\n<a href=\"http:\/\/archive.cloudera.com\/cdh\/3\/hadoop-0.20.2-cdh3u5.tar.gz\">http:\/\/archive.cloudera.com\/cdh\/3\/hadoop-0.20.2-cdh3u5.tar.gz<\/a><br \/>\n<b>Untar Tar ball:<\/b><br \/>\nAfter download we need to \u00a0untar the package by triggering following command in ubuntu terminal<br \/>\n[php]$tar xzf hadoop-0.20.2-cdh3u5.tar.gz[\/php]<br \/>\n<b>Go to HADOOP_HOME_DIR:<\/b><br \/>\n[php]$cd\u00a0hadoop-0.20.2-cdh3u5\/[\/php]<\/p>\n<h2>4.2. Setup Configuration:<\/h2>\n<p><b>hadoop-env.sh:<\/b><br \/>\nThe only required environment variable we have to configure for Hadoop in this tutorial is JAVA_HOME. Open conf\/hadoop-env.sh in the editor of your choice and set the JAVA_HOME environment variable to the JDK\/JRE 6 directory.<br \/>\n[php]export JAVA_HOME=path to be the root of your Java installation(eg: \/usr\/lib\/jvm\/java-6-sun)[\/php]<br \/>\n<b>core-site.xml<\/b><br \/>\nIn this section, we will configure the directory where Hadoop will store its data files, the network ports it listens to.that means we are going to assign information of Data node and the port no through which they are going to access Our setup will use Hadoop\u2019s Distributed File System, HDFS, even though our little \u201ccluster\u201d only contains our single local machine. and we are going to assign localhost as machine value.<br \/>\nEdit configuration file conf\/core-site.xml and add following entries:<br \/>\n[php]&lt;configuration&gt;<br \/>\n&lt;property&gt;<br \/>\n&lt;name&gt;fs.default.name&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;\/PATH\/WHERE\/YOU\/HAVE\/WRITE\/PRIVILEGES&lt;\/value&gt;<br \/>\n&lt;\/property&gt;<br \/>\n&lt;\/configuration&gt;[\/php]<br \/>\n<b>hdfs-site.xml:<\/b><br \/>\nIn this section we are going to assign value dfs replication factor so we are going to edit configuration file conf\/hdfs-site.xml and add following entries:<br \/>\n[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]<br \/>\n<b>mapred-site.xml<\/b><br \/>\nIn this section, we will configure information of Job Tracker and the port no through which it are going to access Our setup will use Hadoop\u2019s Mapreduce. we can supply any no of job trakcer information in this file. so we are going to edit configuration file conf\/mapred-site.xml and add following entries<br \/>\n[php]&lt;configuration&gt;<br \/>\n&lt;property&gt;<br \/>\n&lt;name&gt;mapred.job.tracker&lt;\/name&gt;<br \/>\n&lt;value&gt;localhost:9001&lt;\/value&gt;<br \/>\n&lt;\/property&gt;<br \/>\n&lt;\/configuration&gt;[\/php]<\/p>\n<h2>4.3. Start The Cluster<\/h2>\n<p>The first step to starting up your Hadoop installation is formatting the Hadoop filesystem which is implemented on top of the local filesystem of your \u201ccluster\u201d. You need to do this the first time you set up a Hadoop cluster.<br \/>\n<b>Format the name node:<\/b><br \/>\nTo format the filesystem (which simply initializes the directory specified by the\u00a0dfs.name.dirvariable), run the command<br \/>\n[php]$bin\/hadoop namenode -format[\/php]<\/p>\n<p style=\"color: #ff0000\">Caution: This activity should be done once when you install hadoop, don&#8217;t format running hadoop File system as you will lose data\u00a0currently in the HDFS\u00a0Cluster.<\/p>\n<p><b>Start Hadoop Services:<\/b><br \/>\n[php]$ bin\/start-all.sh[\/php]<br \/>\nThis will start up cluster with following daemons\u00a0: Namenode, Datanode, Jobtracker, \u00a0Tasktracker and Secondarynamenode on your machine.<br \/>\n<b>Check whether services have been started :<\/b><br \/>\nTo check whether single nod cluster is working or not run the following command on terminal:<br \/>\n[php]$ jps<br \/>\n2287 TaskTracker<br \/>\n2149 JobTracker<br \/>\n1938 DataNode<br \/>\n2085 SecondaryNameNode<br \/>\n2349 Jps<br \/>\n1788 NameNode[\/php]<\/p>\n<h2>4.4. Stop The Cluster:<\/h2>\n<p>Once your work is finished you can stop the cluster, to stop all the daemons running on your machine.\u00a0Run the command<br \/>\n[php]$ bin\/stop-all.sh [\/php]<\/p>\n<h1>5.\u00a0Related Links<\/h1>\n<ul>\n<li><a href=\"http:\/\/data-flair.training\/blogs\/history-big-data\/\" target=\"_blank\" rel=\"noopener\">History of Big Data<\/a><\/li>\n<li><a href=\"http:\/\/data-flair.training\/blogs\/introduction-spark-tutorial-quickstart\/\">Apache Spark &#8211; 100x faster than Hadoop-MapReduce<\/a><\/li>\n<li><a href=\"http:\/\/data-flair.training\/blogs\/top-hdfs-commands-tutorial\/\" target=\"_blank\" rel=\"noopener\">Top 10 Useful Hdfs Commands Part-I<\/a><\/li>\n<\/ul>\n<p>&nbsp;<span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:2474,&quot;href&quot;:&quot;https:\\\/\\\/my.vmware.com\\\/web\\\/vmware\\\/downloads&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20220105011722\\\/https:\\\/\\\/my.vmware.com\\\/web\\\/vmware\\\/downloads&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-11 06:57:07&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2025-12-24 06:37:37&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-03-03 18:12:46&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-03-13 08:12:45&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-03-21 00:42:17&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-03-31 12:56:46&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-18 09:14:16&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-24 17:02:44&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-05-07 12:49:13&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-06-02 20:19:34&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-06-29 21:48:27&quot;,&quot;http_code&quot;:503}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-29 21:48:27&quot;,&quot;http_code&quot;:503},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:2475,&quot;href&quot;:&quot;http:\\\/\\\/releases.ubuntu.com\\\/14.04.2\\\/ubuntu-14.04.2-desktop-i386.iso&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20150316093329\\\/http:\\\/\\\/releases.ubuntu.com\\\/14.04.2\\\/ubuntu-14.04.2-desktop-i386.iso&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-11 06:57:13&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-24 06:37:39&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-03 18:13:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-13 08:12:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-21 00:42:26&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-03-31 12:57:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-18 09:17:52&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-06-29 21:48:28&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-29 21:48:28&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:2476,&quot;href&quot;:&quot;http:\\\/\\\/archive.cloudera.com\\\/cdh\\\/3\\\/hadoop-0.20.2-cdh3u5.tar.gz&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250914121527\\\/https:\\\/\\\/archive.cloudera.com\\\/cdh\\\/3\\\/hadoop-0.20.2-cdh3u5.tar.gz&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-11 06:57:17&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-12-11 06:57:17&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u00a0Objective This is a Step By Step Guide to Deploy Cloudera Hadoop (CDH3) on Ubuntu. In this tutorial, We will discuss setup and configuration of Cloudera Hadoop CDH3 on Ubuntu through virtual machine\u00a0in Windows.&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":42787,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[1907,1971,3416,4544,5186,5201,5267,8126,8140],"class_list":["post-411","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hadoop","tag-big-data","tag-big-data-training","tag-data-science","tag-fast-hadoop-installation","tag-hadoop","tag-hadoop-admin","tag-hadoop-installation","tag-learn","tag-learn-hadoop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster) - DataFlair<\/title>\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\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster) - DataFlair\" \/>\n<meta property=\"og:description\" content=\"1.\u00a0Objective This is a Step By Step Guide to Deploy Cloudera Hadoop (CDH3) on Ubuntu. In this tutorial, We will discuss setup and configuration of Cloudera Hadoop CDH3 on Ubuntu through virtual machine\u00a0in Windows.&#046;&#046;&#046;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/\" \/>\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-13T12:53:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-11-19T10:43:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1.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=\"9 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster) - DataFlair","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\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/","og_locale":"en_US","og_type":"article","og_title":"Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster) - DataFlair","og_description":"1.\u00a0Objective This is a Step By Step Guide to Deploy Cloudera Hadoop (CDH3) on Ubuntu. In this tutorial, We will discuss setup and configuration of Cloudera Hadoop CDH3 on Ubuntu through virtual machine\u00a0in Windows.&#46;&#46;&#46;","og_url":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2016-06-13T12:53:36+00:00","article_modified_time":"2018-11-19T10:43:51+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1.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":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster)","datePublished":"2016-06-13T12:53:36+00:00","dateModified":"2018-11-19T10:43:51+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/"},"wordCount":1750,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1.jpg","keywords":["big data","big data training","data science","fast-hadoop-installation","hadoop","hadoop admin","hadoop installation","learn","learn hadoop"],"articleSection":["Hadoop Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/","url":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/","name":"Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster) - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1.jpg","datePublished":"2016-06-13T12:53:36+00:00","dateModified":"2018-11-19T10:43:51+00:00","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/06\/Hadoop-2.6_cdh5.5.1-Installation-on-UbuntuTutorial-Training-768x384-1.jpg","width":1200,"height":628,"caption":"Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster)"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/setup-hadoop-cdh3-on-ubuntu-single-node-cluster\/#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":"Setup Hadoop CDH3 on Ubuntu (Single-Node-Cluster)"}]},{"@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\/411","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=411"}],"version-history":[{"count":7,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/411\/revisions"}],"predecessor-version":[{"id":42790,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/411\/revisions\/42790"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/42787"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}