Google News
logo
Hadoop - Interview Questions
Which command will help you find the status of blocks and FileSystem health?
To check the status of the blocks, use the command :
 
hdfs fsck <path> -files -blocks
 
To check the health status of FileSystem, use the command :
 
hdfs fsck / -files –blocks –locations > dfs-fsck.log
Advertisement