public class MigrationTool extends Configured implements Tool
This class is a tool for migrating data from an older to a newer version of an S3 filesystem.
All files in the filesystem are migrated by re-writing the block metadata - no datafiles are touched.
| 构造器和说明 |
|---|
MigrationTool() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
initialize(URI uri) |
static void |
main(String[] args) |
int |
run(String[] args)
Execute the command with the given arguments.
|
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfpublic int run(String[] args) throws Exception
Toolpublic void initialize(URI uri) throws IOException
IOExceptionCopyright © 2009 The Apache Software Foundation