ccah-500 第10题 Which best describes how you determine when the last checkpoint happened

来源:互联网 发布:软件项目助理职责 编辑:程序博客网 时间:2024/04/27 04:57

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/



 


0 0
原创粉丝点击