Friday 9 August 2013

Back Up Mechanism for Namenode

Namenode is the single point of failure in hadoop cluster. Because it stores the metadata of the entire hadoop system.
So extra care should be given in maintaining it. We use the best hardware for namenode machines.
Even if we use best hardware, complete protection cannot be guarenteed, because hardware issues can happen at anytime. So a backup for namenode is very necessary.
One of the methods is creating a simple backup storage by mounting the partition of another machine located in a different place to the namenode machine.
The back up machine should have the same hardware/software specifications as of namenode machine and installed with hadoop similar to namenode machine. But hadoop services are not started in that machine.
Incase of failure, we can start namenode in this backup machine and it runs like normal namenode. The only thing we need to do is assigning ipaddress/hostname of actual namenode to the backup namenode.
In the hdfs-site.xml, we are giving an additional value to dfs.name.dir property.
ie actual location, backup location.
<property>
<name>dfs.name.dir</name>
<value>/app/hadoop/name,/app/hadoop/backup</value>
<description>
Determines where on the local filesystem the DFS name node should store the name table(fsimage). If this is a comma-delimited list of directories then the name table is replicated in all of the directories, for redundancy.
</description>
</property>

here /app/hadoop/name is the actual namenode storage location and /app/hadoop/backupis the location where the partition is mounted for storing the namenode backup.
In case of failure of the first namenode machine, the namenode data will be safe in the second machine(backup), so we can start the namenode in the second machine.
The second machine is placed in different location and is provided with a differnt power supply, so that the dependencies of both the machines will be different, thus making an efficient backup.

17 comments:

  1. Online Hadoop Training- JLC which provides training on hadoop for candidates with keen interest to learn.

    For more information:
    http://www.jlcindia.com/Online-Hadoop-Training.html

    ReplyDelete
  2. It's great pleasure to be on this topic which are sharing some valuable things, I'm glad, that i read this informative things.
    Hadoop Training Online

    ReplyDelete
  3. Great Information admin thanks For Your Blog and Any body wants learn Business Analyst through Online

    for Details Please go through the Link

    Hadoop Online Training with real time projects

    in USA | UK | INDIA


    This Will Helps you alot.

    ReplyDelete
  4. hi you have gathered a valuable information on Hadoop...., i am looking for content like this and i am much impressed with the information and nice course content, thanks a lot for the Information regarding Hadoop Online Training.

    http://www.primeonlinetraining.com/hadoop-online-training/

    ReplyDelete
  5. I was totally amazed when i saw this website Best Hadoop Online Training first time i thought this is what i am looking for from a long time i am very thankful to you for helping not only me but to all those guys who are new to this IT SECTOR and who wants to make a career in this sector.

    ReplyDelete
  6. Best Big Data Hadoop Training in Hyderabad @ Kalyan Orienit

    Follow the below links to know more knowledge on Hadoop

    WebSites:
    ================
    http://www.kalyanhadooptraining.com/

    http://www.hyderabadhadooptraining.com/

    http://www.bigdatatraininghyderabad.com/

    Videos:
    ===============
    https://www.youtube.com/watch?v=-_fTzrgzVQc

    https://www.youtube.com/watch?v=Df2Odze87dE

    https://www.youtube.com/watch?v=AOfX-tNkYyo

    https://www.youtube.com/watch?v=Cyo3y0vlZ3c

    https://www.youtube.com/watch?v=jOLSXx6koO4

    https://www.youtube.com/watch?v=09mpbNBAmCo


    Best Big Data Hadoop Training in Hyderabad @ Kalyan Orienit

    ReplyDelete
  7. EDUWIZZ provides an excellent job opportunity in Hybris Trainingfor JAVA professionals
    who are seeking for job or looking to change to latest and advanced technologies.

    ReplyDelete
  8. htttp://www.HadoopTraininghyderabad.in offers Best Class Hadoop Online Training with Hadoop Certification Guaranteed.

    ReplyDelete
  9. IQ Online Training Portal offers SAP Hybris Online training throughout the world and is specialists in online training and will provide both function and technical course.
    sap hybris online training

    ReplyDelete
  10. This is valuable content for Online Learners...
    SalesForce

    SAP ABAP

    SAP Basis

    ReplyDelete
  11. We also provide SAP Success Factors, SAP HR,SAP FICO,SAP ABAP Training in Chennai.
    Which is the Best SAP MM Training Institute in Chennai?
    Who can provide Realtime SAP Training in Chennai?
    Best SAP MM Training institues in Chennai?
    For Free Live Demo @ Call to 8122241286.
    www.thecreatingexperts.com
    SAP HR
    SAP SF

    ReplyDelete
  12. Revanth Technologies is the Best Software Training Institute for Java, C#.NET, ASP.NET,

    Oracle, Testing Tools, Selenium, Android, iPhone in Hyderabad India which provides online

    training classes. Online Training is given by Real-Time Expert Only.

    Key features are:

    1.One to One and group Sessions as per student convenience.
    2.Techning by Real-Time Experts
    3.Flexible Timings and etc..
    4.Customized course content as per student's requirement.

    Visit Our website for Java Course Content:
    http://www.http://www.revanthtechnologies.com/java-online-training-from-india.php

    For more details please contact 9290971883 / 9247461324 or drop a mail to revanthonlinetraining@gmail.com

    ReplyDelete
  13. Srihitha Technologies is a vast experienced online training center in Hyderabad, India since 2006, with highly qualified and real time experienced faculties, offers Angular JS online training with real time project scenarios.

    In the course training we are covering What is AngularJS?, Understanding the MVC Pattern, How AngularJS Works, Scope, Filters, Directives, Routing, Dependence Injection, Service, Security, Events, Module, Testing, Debugging AngularJs, Project etc…

    For more details please contact: 9885144200.

    Mail id: srihithaonlinetraining@gmail.com

    For course content and more details please visit http://www.srihithatechnologies.com/angularjs.php

    ReplyDelete
  14. Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. sap abap online training videos

    ReplyDelete
  15. I esteem your undertakings since it passes on the message of what you are endeavoring to state. It's a remarkable aptitude to make even the person who doesn't consider the subject could prepared to understand the subject. Your web diaries are legitimate and besides lavishly portrayed. I might want to scrutinize a consistently expanding number of captivating articles from your blog. Keep Sharing
    Data stage online training in Bangalore
    Online Data stage training in Hyderabad

    ReplyDelete