[
https://issues.apache.org/jira/browse/MAPREDUCE-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841658#action_12841658
]
Chris Douglas commented on MAPREDUCE-1501:
------------------------------------------
{noformat}
+import com.sun.org.apache.commons.logging.Log;
+import com.sun.org.apache.commons.logging.LogFactory;
{noformat}
Should these imports be {{org.apache.hadoop.commons.logging}}, not
{{com.sun...}} ?
Is there a reason this feature was only added to a deprecated class, instead of
the {{FileInputFormat}} in the {{mapreduce}} package?
> FileInputFormat to support multi-level/recursive directory listing
> ------------------------------------------------------------------
>
> Key: MAPREDUCE-1501
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1501
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Reporter: Zheng Shao
> Assignee: Zheng Shao
> Attachments: MAPREDUCE-1501.1.branch-0.20.patch,
> MAPREDUCE-1501.1.trunk.patch
>
>
> As we have seen multiple times in the mailing list, users want to have the
> capability of getting all files out of a multi-level directory structure.
> 4/1/2008:
> http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200804.mbox/%[email protected]%3e
> 2/3/2009:
> http://mail-archives.apache.org/mod_mbox/hadoop-core-user/200902.mbox/%[email protected]%3e
> 6/2/2009:
> http://mail-archives.apache.org/mod_mbox/hadoop-common-user/200906.mbox/%[email protected]%3e
> One solution that our users had is to write a new FileInputFormat, but that
> means all existing FileInputFormat subclasses need to be changed in order to
> support this feature.
> We can easily provide a JobConf option (which defaults to false) to
> {{FileInputFormat.listStatus(...)}} to recursively go into directory
> structure.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.