{"id":711,"date":"2019-03-07T11:38:28","date_gmt":"2019-03-07T11:38:28","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=711"},"modified":"2020-07-10T05:19:28","modified_gmt":"2020-07-10T05:19:28","slug":"hadoop-high-availability-setup","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/","title":{"rendered":"Hadoop High Availability setup"},"content":{"rendered":"<p>&nbsp;<\/p>\n<h1 style=\"text-align: center;\">Hadoop High Availability Setup<\/h1>\n<p>&nbsp;<\/p>\n<p><strong>Hadoop High Availability Setup<\/strong>, Welcome to the world of advanced Tutorials on High Availability Cluster in <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop technology<\/a>. Are you looking forward to a High Availability Hadoop configuration Platform? Or looking for some help on how to set up a Hadoop Cluster with high availability? Then you\u2019ve landed on the Right Path which providing advanced based concepts on the Hadoop high availability tutorial. In this tutorial, one can easily explore how to setup Hadoop Cluster with high availability with step by step explanation.<\/p>\n<p>&nbsp;<\/p>\n<p>There are many possible ways to Create Hadoop high availability setup Platform, just follow the below-mentioned step by step process of How to Set Up Hadoop Cluster with high availability tutorials which were originally designed by India\u2019s Leading <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop Training institute<\/a> Professionals who also offering advanced <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop Course<\/a> and Certification Programs.<\/p>\n<p>&nbsp;<\/p>\n<h2>How to set up a Hadoop Cluster with high availability<\/h2>\n<p>&nbsp;<\/p>\n<h3><strong>Step 1: Download the zookeeper from the browser.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><a href=\"https:\/\/zookeeper.apache.org\/releases.html\">https:\/\/zookeeper.apache.org\/releases.html<\/a><\/strong><\/p>\n<h3><strong>Step 2: Untar the zookeeper using the terminal by a given command.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-712\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"68\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8.png 364w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8-300x24.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>\u00a0Step 3: Download the Hadoop from the browser.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><a href=\"https:\/\/archive.apache.org\/dist\/hadoop\/core\/hadoop-2.6.0\/hadoop-2.6.0.tar.gz\">https:\/\/archive.apache.org\/dist\/hadoop\/core\/hadoop-2.6.0\/hadoop-2.6.0.tar.gz<\/a><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 4:\u00a0Untar Hadoop using the below command.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-713\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-8.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"69\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-8.png 331w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/2-8-300x24.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 5: Change the Host Name.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-714\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/3-8.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"74\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 6: Update your system.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-715\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/4-7.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"101\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 7: Install Java<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-716\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-6.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"62\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-6.png 397w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/5-6-300x22.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 8: Install SSH Server<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-717\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-6.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"74\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-6.png 389w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/6-6-300x26.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 9: Add Java, Hadoop and Zookeeper path in bashrc file.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-718\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/7-6.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"97\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-719\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/8-6.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"396\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/8-6.png 626w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/8-6-300x140.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 10: Update bashrc file.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-720\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/9-5.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"118\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 11: Open core-site.xml inactive name node and add below properties.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-721\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/10-5.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"85\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-722\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/11-5.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"578\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/11-5.png 453w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/11-5-300x204.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 12: Open hdfs-site.xml inactive name node and add below properties.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-723\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/12-3.png\" alt=\"hadoop high availability setup\" width=\"850\" height=\"88\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-724\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/13-3.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"629\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/13-3.png 492w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/13-3-300x222.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-725\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/14-1.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"295\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/14-1.png 587w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/14-1-300x104.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-726\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/15-1.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"678\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/15-1.png 676w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/15-1-300x239.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-727\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/16-1.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"710\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/16-1.png 624w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/16-1-300x250.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-728\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/17-1.png\" alt=\"\" width=\"259\" height=\"34\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 13: Change the directory and go to zookeeper\/conf<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-729\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/18-1.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"88\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 14 : Copy zoo_sample.cfg to zoo.cfg<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-730\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/19-1.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"76\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 15: Edit zoo.cfg file and give the dataDir path<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-731\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/20-1.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"86\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-732\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/21.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"267\" \/><\/strong><\/p>\n<h3><strong>Step 16: Make the Clone of this and rename them as NN2 and DN1.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 17: Add each node IP in etc\/hosts in every node<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-733\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/22.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"75\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 18: Generate ssh key and copy in each other.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<h3><strong>Step 19: Go to DN1 and open hdfs-site.xml and this property<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-734\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/23.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"83\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-735\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/24.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"248\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/24.png 455w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/24-300x88.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 20: Go to NN1 and in zookeeper metadata directory create one file myid and add number 1.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-736\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/25.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"43\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/25.png 530w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/25-300x15.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-737\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/26.png\" alt=\"Set Up Hadoop Cluster with high availability\" width=\"850\" height=\"387\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/26.png 417w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/26-300x137.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 21: Go to NN2 and in zookeeper metadata directory create one file myid and add number 2.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-738\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/27.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"51\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/27.png 500w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/27-300x18.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-739\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/28.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"345\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/28.png 384w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/28-300x122.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 22: Go to NN2 and in zookeeper metadata directory create one file myid and add number 3<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-740\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/29.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"53\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/29.png 525w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/29-300x19.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-741\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/30.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"402\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/30.png 438w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/30-300x142.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 23: Start the journal node in all nodes.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-742\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/31.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"145\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/31.png 547w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/31-300x51.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-743\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/32.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"43\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/32.png 517w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/32-300x15.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 24:\u00a0 write jps in all node<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-744\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/33.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"353\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/33.png 349w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/33-300x125.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 25: Format name node in NN1<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-745\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/34.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"72\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/34.png 389w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/34-300x25.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 26: Start name node in NN1<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-746\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/35.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"48\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/35.png 483w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/35-300x17.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 27: Go to NN2 and copy metadata from NN1 to NN2<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-747\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/36.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"46\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/36.png 485w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/36-300x16.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 28: Start name node in NN2<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-748\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/37.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"40\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/37.png 506w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/37-300x14.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 29: Now Start Zookeeper service in all three nodes.<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-749\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/38.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"64\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/38.png 319w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/38-300x23.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-750\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/39.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"77\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/39.png 342w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/39-300x27.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-751\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/40.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"95\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/40.png 340w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/40-300x34.png 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 30: Run Jps in NN1<\/strong><\/h3>\n<p>&nbsp;<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-752\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/41.png\" alt=\"High Availability hadoop configuration\" width=\"850\" height=\"310\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Step 31: Kill the NameNode process<\/strong><\/h3>\n<p><strong>kill -9 3776<\/strong><\/p>\n<p><strong>and refresh the UI of Standby NameNode it will be active now<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Get success in your career as a Hadoop developer by being a part of the <a href=\"http:\/\/prwatech.com\/\">Prwatech<\/a>, India&#8217;s leading <a href=\"https:\/\/prwatech.in\/hadoop-training-institute-in-bangalore\/\">Hadoop training institute in Bangalore<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/_cP28_5rRjI\" width=\"650\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Hadoop High Availability Setup &nbsp; Hadoop High Availability Setup, Welcome to the world of advanced Tutorials on High Availability Cluster in Hadoop technology. Are you looking forward to a High Availability Hadoop configuration Platform? Or looking for some help on how to set up a Hadoop Cluster with high availability? Then you\u2019ve landed on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[346],"class_list":["post-711","post","type-post","status-publish","format-standard","hentry","category-hadoop","tag-hadoop-high-availability-setup"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hadoop High Availability setup | High Availability Cluster in Hadoop<\/title>\n<meta name=\"description\" content=\"Explore step by step guide on Hadoop High Availability setup from Prwatech and Learn High Availability Hadoop configuration.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hadoop High Availability setup | High Availability Cluster in Hadoop\" \/>\n<meta property=\"og:description\" content=\"Explore step by step guide on Hadoop High Availability setup from Prwatech and Learn High Availability Hadoop configuration.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-07T11:38:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-10T05:19:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8.png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/\",\"url\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/\",\"name\":\"Hadoop High Availability setup | High Availability Cluster in Hadoop\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8.png\",\"datePublished\":\"2019-03-07T11:38:28+00:00\",\"dateModified\":\"2020-07-10T05:19:28+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Explore step by step guide on Hadoop High Availability setup from Prwatech and Learn High Availability Hadoop configuration.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8.png\",\"width\":364,\"height\":29},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hadoop High Availability setup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hadoop High Availability setup | High Availability Cluster in Hadoop","description":"Explore step by step guide on Hadoop High Availability setup from Prwatech and Learn High Availability Hadoop configuration.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Hadoop High Availability setup | High Availability Cluster in Hadoop","og_description":"Explore step by step guide on Hadoop High Availability setup from Prwatech and Learn High Availability Hadoop configuration.","og_url":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-03-07T11:38:28+00:00","article_modified_time":"2020-07-10T05:19:28+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8.png","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/","url":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/","name":"Hadoop High Availability setup | High Availability Cluster in Hadoop","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8.png","datePublished":"2019-03-07T11:38:28+00:00","dateModified":"2020-07-10T05:19:28+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Explore step by step guide on Hadoop High Availability setup from Prwatech and Learn High Availability Hadoop configuration.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/03\/1-8.png","width":364,"height":29},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/hadoop\/hadoop-high-availability-setup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Hadoop High Availability setup"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=711"}],"version-history":[{"count":6,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/711\/revisions"}],"predecessor-version":[{"id":4464,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/711\/revisions\/4464"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}