HDFS-12154. Incorrect javadoc description in StorageLocationChecker#check. Contributed by Nandakumar.

This commit is contained in:
Weiwei Yang 2017-07-18 17:28:08 +08:00 committed by Arpit Agarwal
parent b161516705
commit 60ae10b14f
1 changed files with 4 additions and 4 deletions

View File

@ -128,16 +128,16 @@ public class StorageLocationChecker {
} }
/** /**
* Initiate a check of the supplied storage volumes and return * Initiate a check on the supplied storage volumes and return
* a list of failed volumes. * a list of healthy volumes.
* *
* StorageLocations are returned in the same order as the input * StorageLocations are returned in the same order as the input
* for compatibility with existing unit tests. * for compatibility with existing unit tests.
* *
* @param conf HDFS configuration. * @param conf HDFS configuration.
* @param dataDirs list of volumes to check. * @param dataDirs list of volumes to check.
* @return returns a list of failed volumes. Returns the empty list if * @return returns a list of healthy volumes. Returns an empty list if
* there are no failed volumes. * there are no healthy volumes.
* *
* @throws InterruptedException if the check was interrupted. * @throws InterruptedException if the check was interrupted.
* @throws IOException if the number of failed volumes exceeds the * @throws IOException if the number of failed volumes exceeds the