org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool@Private
public class DFSck
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
The tool scans all files and directories, starting from an indicated root path. The following abnormal conditions are detected and handled:
NamenodeFsck.doMove).
Remaining data blocks are saved as a
block chains, representing longest consecutive series of valid blocks.
NamenodeFsck.doDelete)
| Constructor | Description |
|---|---|
DFSck(org.apache.hadoop.conf.Configuration conf) |
Filesystem checker.
|
DFSck(org.apache.hadoop.conf.Configuration conf,
java.io.PrintStream out) |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(java.lang.String[] args) |
|
int |
run(java.lang.String[] args) |
public DFSck(org.apache.hadoop.conf.Configuration conf)
throws java.io.IOException
conf - current Configurationjava.io.IOExceptionpublic DFSck(org.apache.hadoop.conf.Configuration conf,
java.io.PrintStream out)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.