Class SegKeyRangeUtil
java.lang.Object
org.apache.hadoop.conf.Configured
com.mapr.fs.hbase.tools.mapreduce.SegKeyRangeUtil
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
public class SegKeyRangeUtil
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.Scanstatic booleancopyFileWithPrefix(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path srcDir, org.apache.hadoop.fs.Path dstDir, org.apache.hadoop.conf.Configuration conf, String prefix) static voidstatic StringresultToString(org.apache.hadoop.hbase.client.Result res) intMethods 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
-
Field Details
-
KEYPREFIX
- See Also:
-
FIRSTKEYNAME
- See Also:
-
LASTKEYNAME
- See Also:
-
SucceedFileName
- See Also:
-
-
Constructor Details
-
SegKeyRangeUtil
public SegKeyRangeUtil()
-
-
Method Details
-
buildScan
public static org.apache.hadoop.hbase.client.Scan buildScan(String jobname, org.apache.hadoop.conf.Configuration conf) -
copyFileWithPrefix
public static boolean copyFileWithPrefix(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path srcDir, org.apache.hadoop.fs.Path dstDir, org.apache.hadoop.conf.Configuration conf, String prefix) throws IOException - Throws:
IOException
-
resultToString
-
run
- Specified by:
runin interfaceorg.apache.hadoop.util.Tool- Throws:
Exception
-
main
-