10.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?
A. Execute hdfs namenode-report on the command line and look at the Last Checkpoint information
B. Execute hdfs dfsadmin-saveNamespace on the command line which returns to you the last checkpoint value in fstime file
C. Connect to the web UI of the Secondary NameNode (http://mysecondary:50090/) and look at the “Last Checkpoint” information
D. Connect to the web UI of the NameNode (http://mynamenode:50070) and look at the “Last Checkpoint” information
Answer: C
A 命令不详,目前已知只有格式化命令
hdfs namenode -format;
B hdfs dfsadmin-saveNamespace
Saves the current in-memory filesystem image to a new fsimage file and resets the edits file. This operation may be performed only in safe mode.
http://mynamenode:50070
http://mysecondary:50090/