hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kousuke Saruta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5634) Documentation for FileInputFormat->listStatus seems to be wrong
Date Thu, 21 Nov 2013 19:09:35 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-5634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829227#comment-13829227
] 

Kousuke Saruta commented on MAPREDUCE-5634:
-------------------------------------------

Similar to what you reported, the document has some inconsistence of terms. For example, 'list'
and 'array' as a return value.

> Documentation for FileInputFormat->listStatus seems to be wrong
> ---------------------------------------------------------------
>
>                 Key: MAPREDUCE-5634
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5634
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>         Environment: Does not matter. 
>            Reporter: Pranay Varma
>
> Take a look at http://hadoop.apache.org/docs/current/api/org/apache/hadoop/mapred/FileInputFormat.html
> Javadoc says:
> listStatus(JobConf job) 
>           List input directories 
> whereas it returns FileStatus[]. 
> Java doc should say, it returns an array containing information about the input directories.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message