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…
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)- A9% (6)
- B73% (48)
- C3% (2)
- D14% (9)
- E2% (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
Community Discussion
No community discussion yet for this question.