org.apache.hadoop.hbase.mapreduce
Class CopyTable

java.lang.Object
  extended by org.apache.hadoop.hbase.mapreduce.CopyTable

public class CopyTable
extends Object

Tool used to copy a table to another one which can be on a different setup. It is also configurable with a start and time as well as a specification of the region server implementation if different from the local cluster.


Constructor Summary
CopyTable()
           
 
Method Summary
static org.apache.hadoop.mapreduce.Job createSubmittableJob(org.apache.hadoop.conf.Configuration conf, String[] args)
          Sets up the actual job.
static void main(String[] args)
          Main entry point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyTable

public CopyTable()
Method Detail

createSubmittableJob

public static org.apache.hadoop.mapreduce.Job createSubmittableJob(org.apache.hadoop.conf.Configuration conf,
                                                                   String[] args)
                                                            throws IOException
Sets up the actual job.

Parameters:
conf - The current configuration.
args - The command line parameters.
Returns:
The newly created job.
Throws:
IOException - When setting up the job fails.

main

public static void main(String[] args)
                 throws Exception
Main entry point.

Parameters:
args - The command line parameters.
Throws:
Exception - When running the job fails.


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.