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
|
||||
* @throws IOException
|
||||
* Get the list of snapshottable directories that are owned
|
||||
* 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()
|
||||
throws IOException {
|
||||
|
@ -696,10 +696,11 @@ DirectoryListing getListing(String src, byte[] startAfter,
|
||||
boolean needLocation) throws IOException;
|
||||
|
||||
/**
|
||||
* Get listing of all the snapshottable directories.
|
||||
*
|
||||
* @return Information about all the current snapshottable directory
|
||||
* @throws IOException If an I/O error occurred
|
||||
* Get the list of snapshottable directories that are owned
|
||||
* 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.
|
||||
*/
|
||||
@Idempotent
|
||||
@ReadOnly(isCoordinated = true)
|
||||
|
@ -6603,8 +6603,8 @@ void renameSnapshot(
|
||||
* Get the list of snapshottable directories that are owned
|
||||
* 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
|
||||
* @return The list of all the current snapshottable directories.
|
||||
* @throws IOException If an I/O error occurred.
|
||||
*/
|
||||
public SnapshottableDirectoryStatus[] getSnapshottableDirListing()
|
||||
throws IOException {
|
||||
|
Loading…
Reference in New Issue
Block a user