Class ExportUtils
java.lang.Object
org.apache.hadoop.hbase.mapreduce.ExportUtils
Some helper methods are used by
Export
and
org.apache.hadoop.hbase.coprocessor.Export (in hbase-endpooint).-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArgumentsFromCommandLine
(org.apache.hadoop.conf.Configuration conf, String[] args) private static Filter
getExportFilter
(String[] args) (package private) static Scan
getScanFromCommandLine
(org.apache.hadoop.conf.Configuration conf, String[] args) static boolean
isValidArguements
(String[] args) static void
Common usage for other export tools.
-
Field Details
-
LOG
-
RAW_SCAN
- See Also:
-
EXPORT_BATCHING
- See Also:
-
EXPORT_CACHING
- See Also:
-
EXPORT_VISIBILITY_LABELS
- See Also:
-
-
Constructor Details
-
ExportUtils
private ExportUtils()
-
-
Method Details
-
usage
Common usage for other export tools.- Parameters:
errorMsg
- Error message. Can be null.
-
getExportFilter
-
isValidArguements
-
getArgumentsFromCommandLine
public static Triple<TableName,Scan, getArgumentsFromCommandLineorg.apache.hadoop.fs.Path> (org.apache.hadoop.conf.Configuration conf, String[] args) throws IOException - Throws:
IOException
-
getScanFromCommandLine
static Scan getScanFromCommandLine(org.apache.hadoop.conf.Configuration conf, String[] args) throws IOException - Throws:
IOException
-