in Hadoop by
Q:
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

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Feb 15, 2020 in Angular by matthenary
+1 vote
asked Dec 31, 2019 in Data Science by sharadyadav1986
0 votes
asked Apr 3, 2020 in Data Handling by rajeshsharma
0 votes
asked Oct 31, 2019 in Other by MBarbieri
0 votes
asked Jun 12, 2020 in Python by Robindeniel
...