Bird
0
0

You want to scale your Hadoop cluster by adding 3 new nodes and safely remove 2 old nodes. Which sequence of actions is correct?

hard📝 Application Q15 of 15
Hadoop - Cluster Administration
You want to scale your Hadoop cluster by adding 3 new nodes and safely remove 2 old nodes. Which sequence of actions is correct?
AAdd new nodes, restart cluster, update exclude file
BAdd new nodes, update exclude file with old nodes, run <code>hdfs dfsadmin -refreshNodes</code>
CUpdate exclude file with old nodes, run <code>hdfs dfsadmin -refreshNodes</code>, add new nodes
DRemove old nodes physically, then add new nodes
Step-by-Step Solution
Solution:
  1. Step 1: Decommission old nodes first

    Update the exclude file with old nodes to remove and run refreshNodes to start decommissioning safely.
  2. Step 2: Add new nodes after old nodes are decommissioned

    Once old nodes are safely removed, add new nodes to scale the cluster.
  3. Final Answer:

    Update exclude file with old nodes, run hdfs dfsadmin -refreshNodes, add new nodes -> Option C
  4. Quick Check:

    Decommission old nodes before adding new ones [OK]
Quick Trick: Decommission old nodes before adding new ones [OK]
Common Mistakes:
  • Adding new nodes before decommissioning old ones
  • Physically removing nodes without decommissioning
  • Restarting cluster unnecessarily

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes