[ 
https://issues.apache.org/jira/browse/HADOOP-2834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577242#action_12577242
 ] 

Doug Cutting commented on HADOOP-2834:
--------------------------------------

Would this return a new Entry per key/value pair?  Would these each contain new 
key/value instances?  The existing API encourages object reuse, which can 
provide substantial performance improvements.  Do we want to encourage 
developers to develop suboptimal code?

> 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, map-file-v3.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.

Reply via email to