Login with  Log in with facebook
Hiring Manager? SIGN UP HERE
0

If all replicas of one or more blocks of a file become unavailable, a file is considered corrupt and any attempt to access this file will lead to exception.

To check health of hadoop filesystem like Linux hadoop has "fsck" command. 

fsck generates a summary report that lists the overall health of the filesystem. HDFS is considered healthy if—and only if—all files have a minimum number of replicas available. 

 

[hduser@nn.zettabyte.com ~]$ hdfs hadoop fsck /

This command checks health of entire filesystem, it can also be limited to a specific directory.
Rishi Yadav
05/06/2013 at 19:12
1 Answer
1
0
hdfs hadoop fsck /
this is not the right command

hadoop fsck /
this is the right one
Venkatesh J
02/06/2015 at 09:00

If you want to post any answer to this forum then you need to log in.
Schedule a Demo

Schedule a Demo with us

Name *
Email *
Phone *
Company *
Details