Bird
0
0

You updated the exclude file to remove a node but forgot to run hdfs dfsadmin -refreshNodes. What is the likely result?

medium📝 Debug Q14 of 15
Hadoop - Cluster Administration
You updated the exclude file to remove a node but forgot to run hdfs dfsadmin -refreshNodes. What is the likely result?
AThe node remains active and is not decommissioned
BThe node is immediately decommissioned
CThe cluster shuts down
DThe exclude file is ignored and deleted
Step-by-Step Solution
Solution:
  1. Step 1: Understand refreshNodes role

    The refreshNodes command tells the NameNode to reload the exclude file.
  2. Step 2: Consequence of not running refresh

    If refreshNodes is not run, the NameNode does not know about the updated exclude file, so the node stays active.
  3. Final Answer:

    The node remains active and is not decommissioned -> Option A
  4. Quick Check:

    No refreshNodes = no decommission [OK]
Quick Trick: Always run refreshNodes after exclude file update [OK]
Common Mistakes:
  • Assuming node decommissions automatically
  • Thinking cluster shuts down
  • Believing exclude file deletes itself

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes