@InterfaceAudience.Public
@InterfaceStability.Evolving
public class WasbFsck
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Constructor and Description |
---|
WasbFsck(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
boolean |
getPathNameWarning() |
static void |
main(String[] args) |
int |
run(String[] args) |
void |
setMockFileSystemForTesting(org.apache.hadoop.fs.FileSystem fileSystem)
For testing purposes, set the file system to use here instead of relying on
getting it from the FileSystem class based on the URI.
|
public void setMockFileSystemForTesting(org.apache.hadoop.fs.FileSystem fileSystem)
fileSystem
- The file system to use.public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
public boolean getPathNameWarning()
Copyright © 2019 Apache Software Foundation. All Rights Reserved.