@InterfaceAudience.Public @InterfaceStability.Unstable 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.
| Constructor and Description | 
|---|
MigrationTool()  | 
| Modifier and Type | Method and Description | 
|---|---|
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 MigrationTool()
public int run(String[] args) throws Exception
Toolpublic void initialize(URI uri) throws IOException
IOExceptionCopyright © 2015 Apache Software Foundation. All rights reserved.