Tuesday, 17 May 2016

How check file system in HDFS ?


Use fsck command which checks health of the file, block names and block locations.

# hdfs fsck /dir/hadoop-test -files -blocks -locations

No comments:

Post a Comment

Note: only a member of this blog may post a comment.