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

Jothi Padmanabhan commented on HADOOP-5266:
-------------------------------------------

The attached patch supports for both the old and new API. If this needs to be 
done only for the new API, I could remove the relevant changes for the old api 
in the next iteration.

> Values Iterator should support "mark" and "reset"
> -------------------------------------------------
>
>                 Key: HADOOP-5266
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5266
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: mapred
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-5266-v1.patch
>
>
> Some users have expressed interest in having a mark-reset functionality on 
> values iterator. Users can call mark() at any point during the iteration 
> process and a subsequent reset() should move the iterator to the last value 
> emitted when mark() was called. 

-- 
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