PrepAway - Latest Free Exam Questions & Answers

What is the purpose of ZooKeeper in such a configuration?

You decide to create a cluster which runs HDFS in High Availability mode with automatic failover,
using Quorum Storage. What is the purpose of ZooKeeper in such a configuration?

PrepAway - Latest Free Exam Questions & Answers

A.
It only keeps track of which NameNode is Active at any given time

B.
It monitors an NFS mount point and reports if the mount point disappears

C.
It both keeps track of which NameNode is Active at any given time, and manages the Edits file.
Which is a log of changes to the HDFS filesystem

D.
If only manages the Edits file, which is log of changes to the HDFS filesystem

E.
Clients connect to ZooKeeper to determine which NameNode is Active

Explanation:
http://www.cloudera.com/content/cloudera-content/clouderadocs/CDH4/latest/PDF/CDH4-High-Availability-Guide.pdf(page 15)

5 Comments on “What is the purpose of ZooKeeper in such a configuration?

  1. safdar says:

    Must be A
    For reliable ZooKeeper service, you should deploy ZooKeeper in a cluster known as an ensemble. As long as a majority of the ensemble are up, the service will be available. Because Zookeeper requires a majority, it is best to use an odd number of machines. For example, with four machines ZooKeeper can only handle the failure of a single machine; if two machines fail, the remaining two machines do not constitute a majority. However, with five machines ZooKeeper can handle the failure of two machines.




    0



    0
  2. ashfaque says:

    A is correct and edit file is maintain by journal node.once active name node down zookeeper is responsilbe for failover however journal maintain edit log file,stand by name node refer this jounal node file once it become active.




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *