Skip to content

Commit 119e426

Browse files
HDFS-17215. RBF: The setQuota method annotation of the Quota class has an error, which is described in the @throws section.
1 parent b871805 commit 119e426

File tree

1 file changed

+1
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/Quota.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public Quota(Router router, RouterRpcServer server) {
7575
* @param storagespaceQuota Storage space quota.
7676
* @param type StorageType that the space quota is intended to be set on.
7777
* @param checkMountEntry whether to check the path is a mount entry.
78-
* @throws AccessControlException If the quota system is disabled or if
78+
* @throws IOException If the quota system is disabled or if
7979
* checkMountEntry is true and the path is a mount entry.
8080
*/
8181
public void setQuota(String path, long namespaceQuota, long storagespaceQuota,

0 commit comments

Comments
 (0)