From 60ae10b14fc156bdbe905ef1e74a3f7d5a6bae36 Mon Sep 17 00:00:00 2001 From: Weiwei Yang Date: Tue, 18 Jul 2017 17:28:08 +0800 Subject: [PATCH] HDFS-12154. Incorrect javadoc description in StorageLocationChecker#check. Contributed by Nandakumar. --- .../server/datanode/checker/StorageLocationChecker.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 2d1eebe0bd6..81575e2e9d9 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