Question 2
You are running a Hadoop cluster with a NameNode on host mynamenode, a secondary NameNode on host mysecondarynamenode and several DataNodes.
Which best describes how you determine when the last checkpoint happened?
Execute hdfs namenode –report on the command line and look at the Last Checkpoint information
Execute hdfs dfsadmin –saveNamespace on the command line which returns to you the last checkpoint value in fstime file
Connect to the web UI of the Secondary NameNode (http://mysecondary:50090/) and look at the “Last Checkpoint” information
Connect to the web UI of the NameNode (http://mynamenode:50070) and look at the “Last Checkpoint” information
Correct answer: C
Explanation:
Reference: https://www.inkling.com/read/hadoop-definitive-guide-tom-white-3rd/chapter-10/hdfs
Reference: https://www.inkling.com/read/hadoop-definitive-guide-tom-white-3rd/chapter-10/hdfs