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