@InterfaceAudience.Public @InterfaceStability.Unstable @Deprecated 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()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
initialize(URI uri)
Deprecated.
|
static void |
main(String[] args)
Deprecated.
|
int |
run(String[] args)
Deprecated.
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 © 2017 Apache Software Foundation. All rights reserved.