Bird
0
0

Given the following exclude file content:

medium📝 Predict Output Q13 of 15
Hadoop - Cluster Administration
Given the following exclude file content:
node1.example.com node3.example.com
and the cluster nodes are node1, node2, node3, node4.
After running hdfs dfsadmin -refreshNodes, which nodes will be decommissioned?
AAll nodes
Bnode2 and node4
Cnode1, node2, node3
Dnode1 and node3
Step-by-Step Solution
Solution:
  1. Step 1: Understand exclude file role

    The exclude file lists nodes to be decommissioned.
  2. Step 2: Identify nodes in exclude file

    Nodes node1.example.com and node3.example.com are listed, so these two will be decommissioned.
  3. Final Answer:

    node1 and node3 -> Option D
  4. Quick Check:

    Exclude file nodes = decommissioned nodes [OK]
Quick Trick: Exclude file lists nodes to decommission [OK]
Common Mistakes:
  • Assuming nodes not in exclude file are decommissioned
  • Thinking all nodes are decommissioned
  • Confusing node hostnames

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes