[
https://issues.apache.org/jira/browse/HDFS-12154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450904#comment-16450904
]
Hudson commented on HDFS-12154:
-------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-12154. Incorrect javadoc description in (wwei: rev
bb0adcb6e0db914f3b4ed072160177833f69f325)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/checker/StorageLocationChecker.java
> 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: Nanda kumar
> Assignee: Nanda kumar
> Priority: Major
> Fix For: 2.9.0, 3.0.0-beta1
>
> Attachments: HDFS-12154.000.patch
>
>
> {{StorageLocationChecker#check}} returns list of healthy volumes, but javadoc
> states that it returns failed volumes.
> {code}
> /**
> * 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.
> */
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]