@InterfaceAudience.Public @InterfaceStability.Evolving public class WasbFsck extends Configured implements Tool
Constructor and Description |
---|
WasbFsck(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
boolean |
getPathNameWarning() |
static void |
main(String[] args) |
int |
run(String[] args)
Execute the command with the given arguments.
|
void |
setMockFileSystemForTesting(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.
|
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public WasbFsck(Configuration conf)
public void setMockFileSystemForTesting(FileSystem fileSystem)
fileSystem
- The file system to use.public int run(String[] args) throws Exception
Tool
public boolean getPathNameWarning()
Copyright © 2022 Apache Software Foundation. All rights reserved.