Bird
0
0

Which command is used to refresh the list of nodes after updating the exclude file for decommissioning?

easy📝 Syntax Q12 of 15
Hadoop - Cluster Administration
Which command is used to refresh the list of nodes after updating the exclude file for decommissioning?
Ahdfs namenode -format
Bhdfs dfsadmin -refreshNodes
Chdfs datanode -report
Dhdfs fsck /
Step-by-Step Solution
Solution:
  1. Step 1: Identify the command for refreshing nodes

    After updating the exclude file, the cluster needs to refresh node status.
  2. Step 2: Match the correct command

    The command hdfs dfsadmin -refreshNodes tells the NameNode to reload the exclude file.
  3. Final Answer:

    hdfs dfsadmin -refreshNodes -> Option B
  4. Quick Check:

    Refresh nodes command = dfsadmin -refreshNodes [OK]
Quick Trick: Refresh nodes after exclude file update with dfsadmin -refreshNodes [OK]
Common Mistakes:
  • Using namenode -format which erases metadata
  • Confusing datanode -report with refresh
  • Running fsck which checks file system health

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes