Class SnapshotDiff
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hdfs.tools.snapshot.SnapshotDiff
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
@Private
public class SnapshotDiff
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
A tool used to get the difference report between two snapshots, or between
a snapshot and the current status of a directory.
Usage: SnapshotDiff snapshotDir from to For from/to, users can use "." to present the current status, and use ".snapshot/snapshot_name" to present a snapshot, where ".snapshot/" can be omitted.
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a SnapshotDiff object.SnapshotDiff(org.apache.hadoop.conf.Configuration conf) Construct a SnapshotDiff object. -
Method Summary
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
-
SnapshotDiff
public SnapshotDiff()Construct a SnapshotDiff object. -
SnapshotDiff
public SnapshotDiff(org.apache.hadoop.conf.Configuration conf) Construct a SnapshotDiff object.
-
-
Method Details