Bird
0
0

Identify the error in this cluster admin command:

medium📝 Debug Q14 of 15
Hadoop - Cluster Administration
Identify the error in this cluster admin command:
hadoop fsck -nodes /data
AIncorrect command; -nodes is not a valid option for fsck
BMissing argument for -nodes option
CPath /data does not exist
DCommand should be run as root user
Step-by-Step Solution
Solution:
  1. Step 1: Check fsck command options

    The hadoop fsck command does not have a -nodes option; this is invalid syntax.
  2. Step 2: Validate other options

    Missing argument or path existence is not the main error here; running as root is not required.
  3. Final Answer:

    Incorrect command; -nodes is not a valid option for fsck -> Option A
  4. Quick Check:

    fsck has no -nodes option [OK]
Quick Trick: Check command options carefully for validity [OK]
Common Mistakes:
  • Assuming -nodes is valid for fsck
  • Blaming missing path without checking syntax
  • Thinking root user is required

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes