Class CopyTable
java.lang.Object
org.apache.hadoop.conf.Configured
com.mapr.fs.hbase.tools.mapreduce.CopyTable
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
public class CopyTable
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Copy a table.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearBulkLoad(String tableName) static booleanstatic voidintintrun_MR()intrun_NoMR()static voidprotected voidsetScanColumns(org.apache.hadoop.hbase.client.Scan scan) Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Constructor Details
-
CopyTable
public CopyTable()
-
-
Method Details
-
setScanColumns
protected void setScanColumns(org.apache.hadoop.hbase.client.Scan scan) -
run
- Specified by:
runin interfaceorg.apache.hadoop.util.Tool- Throws:
Exception
-
run_MR
- Throws:
Exception
-
run_NoMR
- Throws:
Exception
-
copy
- Throws:
Exception
-
setJobSuccessful
public static void setJobSuccessful() -
main
- Throws:
Exception
-
clearBulkLoad
- Throws:
Exception
-