1.

Point out the correct statement.(a) All znodes are ephemeral, which means they are describing a “temporary” state(b) /hbase/replication/state contains the list of RegionServers in the main cluster(c) Offline snapshots are coordinated by the Master using ZooKeeper to communicate with the RegionServers using a two-phase-commit-like transaction(d) None of the mentionedThis question was addressed to me in a job interview.My doubt stems from The ZooKeeper Service topic in chapter ZooKeeper, Sqoop and Cassandra of Hadoop

Answer»

The CORRECT answer is (a) All znodes are ephemeral, which means they are DESCRIBING a “temporary” state

The EXPLANATION: Although the REPLICATION znodes do not describe a temporary state, they are meant to be the source of truth for the replication state, describing the replication state of each MACHINE.



Discussion

No Comment Found

Related InterviewSolutions