|
@@ -6561,13 +6561,13 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|
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
|
|
|
|
- * @throws IOException
|
|
|
|
|
|
+ * @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 {
|