nerdexam
Cloudera

CCA-500 · Question #90

Your cluster implements hdfs high availability (HA) your two namenodes are named hadoop01 and hadoop02. What occurs when you execute the command: Sudo -u hdfs haadmin -failover hadoop01 hadoop02

The correct answer is D. Hadoop01 is fenced, and hadoop02 becomes the active namenode. Failover- initiate a failover between two NameNodes This subcommand causes a failover from the first provided NameNode to the second. If the first NameNode is in the Standby state, this command simply transitions the second to the Active statewithout error. If the first…

Resource Management

Question

Your cluster implements hdfs high availability (HA) your two namenodes are named hadoop01 and hadoop02. What occurs when you execute the command:

Sudo -u hdfs haadmin -failover hadoop01 hadoop02

Options

  • AHadoop02 becomes the standby namenode and hadoop01 becomes the active namenode
  • BHadoop02 is fenced, and hadoop01 becomes active namenode
  • CHadoop01 becomes inactive and hadoop02 becomes the active namenode
  • DHadoop01 is fenced, and hadoop02 becomes the active namenode

How the community answered

(34 responses)
  • A
    9% (3)
  • B
    15% (5)
  • C
    3% (1)
  • D
    74% (25)

Explanation

Failover- initiate a failover between two NameNodes This subcommand causes a failover from the first provided NameNode to the second. If the first NameNode is in the Standby state, this command simply transitions the second to the Active statewithout error. If the first NameNode is in the Active state, an attempt will be made to gracefully transition it to the Standby state. If this fails, the fencing methods (as configured by dfs.ha.fencing.methods) will be attempted in order until one of the methods succeeds. Only after this process will the second NameNode be transitioned to the Active state. If no fencing method succeeds, the second NameNode will not be transitioned to the Active state, and an error will be returned. Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test, First Pass. Help you to pass any IT Certification exams at the first try. You can reach us at any of the email addresses listed below. Any problems about IT certification or our products, you could rely upon us, we will give you satisfactory answers in 24 hours.

Topics

#HDFS HA#NameNode failover#haadmin#fencing

Community Discussion

No community discussion yet for this question.

Full CCA-500 Practice