Class FileSystemImage
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.FileSystemImage
- All Implemented Interfaces:
Configurable,Tool
Create FSImage from an external namespace.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConf()Return the configuration used by this object.static voidprotected voidintExecute the command with the given arguments.voidsetConf(Configuration conf) Set the configuration to be used by this object.
-
Constructor Details
-
FileSystemImage
public FileSystemImage()
-
-
Method Details
-
getConf
Description copied from interface:ConfigurableReturn the configuration used by this object.- Specified by:
getConfin interfaceConfigurable- Returns:
- Configuration
-
setConf
Description copied from interface:ConfigurableSet the configuration to be used by this object.- Specified by:
setConfin interfaceConfigurable- Parameters:
conf- configuration to be used
-
printUsage
protected void printUsage() -
run
Description copied from interface:ToolExecute the command with the given arguments. -
main
- Throws:
Exception
-