[
https://issues.apache.org/jira/browse/HADOOP-2834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569126#action_12569126
]
Doug Cutting commented on HADOOP-2834:
--------------------------------------
> Is there any less expensive method to check this?
Yes. When looping over the results of listStatus(), check whether each is a
directory or not.
We should probably add a StatusFilter interface, since that's more general...
> Iterator for MapFileOutputFormat
> --------------------------------
>
> Key: HADOOP-2834
> URL: https://issues.apache.org/jira/browse/HADOOP-2834
> Project: Hadoop Core
> Issue Type: Improvement
> Components: mapred
> Affects Versions: 0.17.0
> Reporter: Andrzej Bialecki
> Fix For: 0.17.0
>
> Attachments: map-file-v2.patch
>
>
> MapFileOutputFormat produces output data that is sorted locally in each
> part-NNNNN file - however, there is no easy way to iterate over keys from all
> parts in a globally ascending order.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.