public class HBaseTableSnapshotInputFormatUtil extends Object
| Constructor and Description |
|---|
HBaseTableSnapshotInputFormatUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertSupportsTableSnapshots()
Return true when the HBase runtime supports
HiveHBaseTableSnapshotInputFormat. |
static void |
configureJob(org.apache.hadoop.conf.Configuration conf,
String snapshotName,
org.apache.hadoop.fs.Path restoreDir)
Configures
conf for the snapshot job. |
static org.apache.hadoop.mapred.InputSplit |
createTableSnapshotRegionSplit()
Create a bare TableSnapshotRegionSplit.
|
public static void assertSupportsTableSnapshots()
HiveHBaseTableSnapshotInputFormat.public static void configureJob(org.apache.hadoop.conf.Configuration conf,
String snapshotName,
org.apache.hadoop.fs.Path restoreDir)
throws IOException
conf for the snapshot job. Call only when
assertSupportsTableSnapshots() returns true.IOExceptionpublic static org.apache.hadoop.mapred.InputSplit createTableSnapshotRegionSplit()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.