org.apache.hadoop.hbase.util
Class Migrate
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.util.Migrate
- All Implemented Interfaces:
- Configurable, Tool
public class Migrate
- extends Configured
- implements Tool
Perform a file system upgrade to convert older file layouts to that
supported by HADOOP-2478
Method Summary |
static void |
main(String[] args)
Main program |
int |
run(String[] args)
Execute the command with the given arguments. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Migrate
public Migrate()
- default constructor
Migrate
public Migrate(HBaseConfiguration conf)
- Parameters:
conf
-
run
public int run(String[] args)
- Execute the command with the given arguments.
- Specified by:
run
in interface Tool
- Parameters:
args
- command specific arguments.
- Returns:
- exit code.
main
public static void main(String[] args)
- Main program
- Parameters:
args
- command line arguments
Copyright © 2006 The Apache Software Foundation