HDFS-12154. Incorrect javadoc description in StorageLocationChecker#check. Contributed by Nandakumar.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ea568123 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ea568123 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ea568123 Branch: refs/heads/YARN-5734 Commit: ea568123fa76e4683d355a67be01b730d0c11068 Parents: 2be9412 Author: Weiwei Yang <w...@apache.org> Authored: Tue Jul 18 17:28:08 2017 +0800 Committer: Arpit Agarwal <a...@apache.org> Committed: Mon Jul 31 17:02:44 2017 -0700 ---------------------------------------------------------------------- .../hdfs/server/datanode/checker/StorageLocationChecker.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/ea568123/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/checker/StorageLocationChecker.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/checker/StorageLocationChecker.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/checker/StorageLocationChecker.java index 2d1eebe..81575e2 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/checker/StorageLocationChecker.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/checker/StorageLocationChecker.java @@ -128,16 +128,16 @@ public class StorageLocationChecker { } /** - * Initiate a check of the supplied storage volumes and return - * a list of failed volumes. + * Initiate a check on the supplied storage volumes and return + * a list of healthy volumes. * * StorageLocations are returned in the same order as the input * for compatibility with existing unit tests. * * @param conf HDFS configuration. * @param dataDirs list of volumes to check. - * @return returns a list of failed volumes. Returns the empty list if - * there are no failed volumes. + * @return returns a list of healthy volumes. Returns an empty list if + * there are no healthy volumes. * * @throws InterruptedException if the check was interrupted. * @throws IOException if the number of failed volumes exceeds the --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org