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

Jason Lowe commented on MAPREDUCE-3193:
---------------------------------------

bq. I don't think it is a bug. You can use FileInputFormat.addInputPaths(job, 
inputPath) to repleace it.

The heart of the issue is consistency between 
org.apache.hadoop.mapred.FileInputFormat and 
org.apache.hadoop.mapreduce.lib.input.FileInputFormat.  The former supports 
recursive processing of input paths when {{mapred.input.dir.recursive}} is true 
while the latter did not.  This changes 
org.apache.hadoop.mapreduce.lib.input.FileInputFormat to match that behavior so 
users of the mapreduce API can easily process input paths recursively.
                
> FileInputFormat doesn't read files recursively in the input path dir
> --------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3193
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3193
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv1, mrv2
>    Affects Versions: 0.23.2, 2.0.0-alpha, 3.0.0
>            Reporter: Ramgopal N
>            Assignee: Devaraj K
>             Fix For: 3.0.0, 2.3.0, 0.23.10
>
>         Attachments: MAPREDUCE-3193-1.patch, MAPREDUCE-3193-2.patch, 
> MAPREDUCE-3193-2.patch, MAPREDUCE-3193-3.patch, MAPREDUCE-3193-4.patch, 
> MAPREDUCE-3193-5.patch, MAPREDUCE-3193.patch, MAPREDUCE-3193.security.patch
>
>
> java.io.FileNotFoundException is thrown,if input file is more than one folder 
> level deep and the job is getting failed.
> Example:Input file is /r1/r2/input.txt

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to