Briefing Cloudera Knowledge

What occurs when you execute the command: hdfs haadmin –failover nn01 nn02

Your cluster implements HDFS High Availability (HA). Your two NameNodes are named
nn01 and nn02. What occurs when you execute the command: hdfs haadmin –failover nn01
nn02

A.
nn02 becomes the standby NameNode and nn01 becomes the active NameNode

B.
nn02 is fenced, and nn01 becomes the active NameNode

C.
nn01 becomes the standby NamNode and nn02 becomes the active NAmeNode

D.
nn01 is fenced, and nn02 becomes the active NameNode