no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | hdfs_fsck [2015/09/09 16:41] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== hdfs fsck ====== | ||
| + | * [[Hadoop]] | ||
| + | * [[hdfs]] | ||
| + | |||
| + | ** Check the health of a file ** | ||
| + | |||
| + | < | ||
| + | hdfs fsck / | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | ... | ||
| + | The filesystem under path '/ | ||
| + | </ | ||
| + | |||
| + | ** Check the health of a file, and display the blocks as well ** | ||
| + | |||
| + | < | ||
| + | hdfs fsck / | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | ... | ||
| + | / | ||
| + | 0. BP-1693696885-172.17.0.2-1441734712805: | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | ** Check the health of a file, display the blocks, and which nodes the file is on ** | ||
| + | |||
| + | < | ||
| + | hdfs fsck / | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | ... | ||
| + | 0. BP-1693696885-172.17.0.2-1441734712805: | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | ** Check the health of the entire filesystem ** | ||
| + | |||
| + | This must be run as user '' | ||
| + | |||
| + | < | ||
| + | hdfs fsck / | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | ... | ||
| + | The filesystem under path '/' | ||
| + | </ | ||