hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandakumar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-12154) Incorrect javadoc description in StorageLocationChecker#check
Date Mon, 17 Jul 2017 18:52:01 GMT
Nandakumar created HDFS-12154:

             Summary: Incorrect javadoc description in StorageLocationChecker#check
                 Key: HDFS-12154
                 URL: https://issues.apache.org/jira/browse/HDFS-12154
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Nandakumar
            Assignee: Nandakumar
            Priority: Trivial

{{StorageLocationChecker#check}} returns list of healthy volumes, but javadoc states that
it returns failed volumes.
   * Initiate a check of the supplied storage volumes and return
   * a list of failed 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.
   * @throws InterruptedException if the check was interrupted.
   * @throws IOException if the number of failed volumes exceeds the
   *                     maximum allowed or if there are no good
   *                     volumes.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org

View raw message