0 votes
in Hadoop by
Which command will help you find the status of blocks and FileSystem health?

1 Answer

0 votes
by

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

Related questions

0 votes
asked Aug 28, 2023 in Docker by JackTerrance
+2 votes
asked Nov 26, 2022 in Hadoop by SakshiSharma
...