what-is-fsck in hadoop
#hadoop #fsck #fileinhadoop #fileformate #hadoopfsck
fsck stands for File System Check. below is some key of fsck commands:
bin/hdfs fsck
below is parameter in command
Usage: hadoop fsck [GENERIC_OPTIONS] <path> [-move | -delete | -openforwrite] [-files [-blocks [-locations | -racks]]]
<path> | Start checking from this path. |
-move | Move corrupted files to /lost+found |
-delete | Delete corrupted files. |
-openforwrite | Print out files opened for write. |
-files | Print out files being checked. |
-blocks | Print out block report. |
-locations | Print out locations for every block. |
-racks | Print out network topology for data-node locations. |