1.

To register a “watch” on a znode data, you need to use the _______ commands to access the current content or metadata.(a) stat(b) put(c) receive(d) getsI got this question by my school principal while I was bunking the class.Origin of the question is The ZooKeeper Service topic in section ZooKeeper, Sqoop and Cassandra of Hadoop

Answer»

Right option is (a) stat

The EXPLANATION: ZooKeeper can ALSO notify you of CHANGES in a znode content or changes in a znode CHILDREN.



Discussion

No Comment Found

Related InterviewSolutions