Bird
0
0

After modifying the exclude file to decommission nodes in Hadoop, which command must be executed to apply these changes?

easy📝 Syntax Q3 of 15
Hadoop - Cluster Administration
After modifying the exclude file to decommission nodes in Hadoop, which command must be executed to apply these changes?
Ahadoop fs -ls /
Bhdfs namenode -format
Chdfs dfsadmin -refreshNodes
Dyarn node -list
Step-by-Step Solution
Solution:
  1. Step 1: Identify the command to refresh nodes

    After updating the exclude file, Hadoop does not automatically apply changes.
  2. Step 2: Use the refresh command

    Running hdfs dfsadmin -refreshNodes forces the NameNode to reload the exclude file and start decommissioning specified nodes.
  3. Final Answer:

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

    Command refreshes node list [OK]
Quick Trick: Run 'hdfs dfsadmin -refreshNodes' after exclude file update [OK]
Common Mistakes:
  • Running 'hdfs namenode -format' which resets the cluster
  • Using 'hadoop fs -ls /' which lists files only
  • Running 'yarn node -list' which lists YARN nodes but doesn't refresh

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes