This is an automated email from the ASF dual-hosted git repository. ayushsaxena pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push: new b89fd4d HDFS-15002. RBF: Fix annotation in RouterAdmin. Contributed by Jinglun. b89fd4d is described below commit b89fd4dfe95a1e0a18a346ec1c1321c366ff97a0 Author: Ayush Saxena <ayushsax...@apache.org> AuthorDate: Fri Nov 22 01:08:11 2019 +0530 HDFS-15002. RBF: Fix annotation in RouterAdmin. Contributed by Jinglun. --- .../java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java index da00709..80598fb 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java @@ -725,7 +725,8 @@ public class RouterAdmin extends Configured implements Tool { /** * List mount points. * - * @param path Path to list. + * @param argv Parameters of the path. + * @param i Index in the parameters. * @throws IOException If it cannot be listed. */ public void listMounts(String[] argv, int i) throws IOException { @@ -899,7 +900,7 @@ public class RouterAdmin extends Configured implements Tool { } else { long nsCount = existingEntry.getQuota().getFileAndDirectoryCount(); long ssCount = existingEntry.getQuota().getSpaceConsumed(); - // If nsQuota and ssQuota were unset, clear nsQuota and ssQuota. + // If nsQuota and ssQuota were reset, clear nsQuota and ssQuota. if (nsQuota == HdfsConstants.QUOTA_RESET && ssQuota == HdfsConstants.QUOTA_RESET) { nsCount = RouterQuotaUsage.QUOTA_USAGE_COUNT_DEFAULT; --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org