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, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public int run(String[] args) throws Exception
Tool
public void initialize(URI uri) throws IOException
IOException
Copyright © 2009 The Apache Software Foundation