nerdexam
Cloudera

CCA-410 · Question #14

Which command does Hadoop offer to discover missing or corrupt HDFS data?

The correct answer is B. Fsck. HDFS supports fsck command to check for various inconsistencies. It it is designed for reporting problems with various files, for e.g. missing blocks for a file or under replicated blocks. Unlike a traditional fsck utility for native filesystems, this command does not correct…

Solution Evaluation

Question

Which command does Hadoop offer to discover missing or corrupt HDFS data?

Options

  • AThe map-only checksum utility,
  • BFsck
  • CDu
  • DDskchk
  • EHadoop does not provide any tools to discover missing or corrupt data; there is no need because

How the community answered

(66 responses)
  • A
    9% (6)
  • B
    73% (48)
  • C
    3% (2)
  • D
    14% (9)
  • E
    2% (1)

Explanation

HDFS supports fsck command to check for various inconsistencies. It it is designed for reporting problems with various files, for e.g. missing blocks for a file or under replicated blocks. Unlike a traditional fsck utility for native filesystems, this command does not correct the errors it detects. Normally Namenode automatically corrects most of the recoverable failures. HDFS' fsck is not a Hadoop shell command. It can be run as 'bin/hadoop fsck'. Fsck can be run on the whole filesystem or on a subset of files.

Topics

#HDFS fsck#Corrupt Data Detection#Hadoop Admin Commands#Data Integrity

Community Discussion

No community discussion yet for this question.

Full CCA-410 Practice