| Package | Description |
|---|---|
| org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem. |
| org.apache.hadoop.hdfs.protocol | |
| org.apache.hadoop.hdfs.protocolPB | |
| org.apache.hadoop.hdfs.server.namenode | |
| org.apache.hadoop.hdfs.server.namenode.snapshot |
| Modifier and Type | Method and Description |
|---|---|
SnapshottableDirectoryStatus[] |
DistributedFileSystem.getSnapshottableDirListing() |
SnapshottableDirectoryStatus[] |
DFSClient.getSnapshottableDirListing()
Get all the current snapshottable directories.
|
| Modifier and Type | Field and Description |
|---|---|
static Comparator<SnapshottableDirectoryStatus> |
SnapshottableDirectoryStatus.COMPARATOR
Compare the statuses by full paths.
|
| Modifier and Type | Method and Description |
|---|---|
SnapshottableDirectoryStatus[] |
ClientProtocol.getSnapshottableDirListing()
Get listing of all the snapshottable directories
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SnapshottableDirectoryStatus.print(SnapshottableDirectoryStatus[] stats,
PrintStream out)
Print a list of
SnapshottableDirectoryStatus out to a given stream. |
| Modifier and Type | Method and Description |
|---|---|
static SnapshottableDirectoryStatus[] |
PBHelper.convert(HdfsProtos.SnapshottableDirectoryListingProto sdlp) |
static SnapshottableDirectoryStatus |
PBHelper.convert(HdfsProtos.SnapshottableDirectoryStatusProto sdirStatusProto) |
SnapshottableDirectoryStatus[] |
ClientNamenodeProtocolTranslatorPB.getSnapshottableDirListing() |
| Modifier and Type | Method and Description |
|---|---|
static HdfsProtos.SnapshottableDirectoryStatusProto |
PBHelper.convert(SnapshottableDirectoryStatus status) |
static HdfsProtos.SnapshottableDirectoryListingProto |
PBHelper.convert(SnapshottableDirectoryStatus[] status) |
| Modifier and Type | Method and Description |
|---|---|
SnapshottableDirectoryStatus[] |
FSNamesystem.getSnapshottableDirListing()
Get the list of snapshottable directories that are owned
by the current user.
|
| Modifier and Type | Method and Description |
|---|---|
SnapshottableDirectoryStatus[] |
SnapshotManager.getSnapshottableDirListing(String userName)
List all the snapshottable directories that are owned by the current user.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.