@InterfaceAudience.Public
@InterfaceStability.Evolving
public final class SnapshotInfo
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Constructor and Description |
---|
SnapshotInfo() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.snapshot.SnapshotInfo.SnapshotStats |
getSnapshotStats(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot)
Returns the snapshot stats
|
static void |
main(String[] args) |
int |
run(String[] args) |
public int run(String[] args) throws IOException, InterruptedException
run
in interface org.apache.hadoop.util.Tool
IOException
InterruptedException
public static org.apache.hadoop.hbase.snapshot.SnapshotInfo.SnapshotStats getSnapshotStats(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription snapshot) throws IOException
conf
- the Configuration
to usesnapshot
- HBaseProtos.SnapshotDescription
to get stats fromIOException
Copyright © 2013 The Apache Software Foundation. All rights reserved.