HDFS-14228. Incorrect getSnapshottableDirListing() javadoc. Contributed by Dinesh Chitlangia.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
This commit is contained in:
parent
84bb9808a2
commit
45caeee6cf
@ -1976,8 +1976,11 @@ public Void next(final FileSystem fs, final Path p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return All the snapshottable directories
|
* Get the list of snapshottable directories that are owned
|
||||||
* @throws IOException
|
* by the current user. Return all the snapshottable directories if the
|
||||||
|
* current user is a super user.
|
||||||
|
* @return The list of all the current snapshottable directories.
|
||||||
|
* @throws IOException If an I/O error occurred.
|
||||||
*/
|
*/
|
||||||
public SnapshottableDirectoryStatus[] getSnapshottableDirListing()
|
public SnapshottableDirectoryStatus[] getSnapshottableDirListing()
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
@ -696,10 +696,11 @@ DirectoryListing getListing(String src, byte[] startAfter,
|
|||||||
boolean needLocation) throws IOException;
|
boolean needLocation) throws IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get listing of all the snapshottable directories.
|
* Get the list of snapshottable directories that are owned
|
||||||
*
|
* by the current user. Return all the snapshottable directories if the
|
||||||
* @return Information about all the current snapshottable directory
|
* current user is a super user.
|
||||||
* @throws IOException If an I/O error occurred
|
* @return The list of all the current snapshottable directories.
|
||||||
|
* @throws IOException If an I/O error occurred.
|
||||||
*/
|
*/
|
||||||
@Idempotent
|
@Idempotent
|
||||||
@ReadOnly(isCoordinated = true)
|
@ReadOnly(isCoordinated = true)
|
||||||
|
@ -6598,13 +6598,13 @@ void renameSnapshot(
|
|||||||
logAuditEvent(success, operationName, oldSnapshotRoot,
|
logAuditEvent(success, operationName, oldSnapshotRoot,
|
||||||
newSnapshotRoot, null);
|
newSnapshotRoot, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the list of snapshottable directories that are owned
|
* Get the list of snapshottable directories that are owned
|
||||||
* by the current user. Return all the snapshottable directories if the
|
* by the current user. Return all the snapshottable directories if the
|
||||||
* current user is a super user.
|
* current user is a super user.
|
||||||
* @return The list of all the current snapshottable directories
|
* @return The list of all the current snapshottable directories.
|
||||||
* @throws IOException
|
* @throws IOException If an I/O error occurred.
|
||||||
*/
|
*/
|
||||||
public SnapshottableDirectoryStatus[] getSnapshottableDirListing()
|
public SnapshottableDirectoryStatus[] getSnapshottableDirListing()
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
Loading…
Reference in New Issue
Block a user