0 votes
in Big Data | Hadoop by
Why do we use fsck command in HDFS?

1 Answer

0 votes
by

fsck command is used for getting the details of files and directories in HDFS.

Main uses of fsck command in HDFS are as follows:

1. delete: We use this option to delete files in HDFS.

2. move: This option is for moving corrupt files to lost/found.

 

3. locations: This option prints all the locations of a block in HDFS.

4. racks: This option gives the network topology of data-node locations.

5. blocks: This option gives the report of blocks in HDFS.

Related questions

0 votes
asked Apr 3, 2020 in Big Data | Hadoop by Tate
0 votes
asked Jan 11, 2020 in Big Data | Hadoop by rajeshsharma
...