[
https://issues.apache.org/jira/browse/HADOOP-5266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674246#action_12674246
]
Jothi Padmanabhan commented on HADOOP-5266:
-------------------------------------------
Task#ValuesIterator is a place where this functionality would fit in nicely as
this is where the value bytes are deserialized and the value object created.
However, ValuesIterator is shared by both ReduceValuesIterator and
CombineValuesIterator. Would the 'mark/reset' functionality be still relevant
for CombineValuesIterator so that we can add this in ValuesIterator or should
this be just restricted to ReduceValuesIterator? Thoughts?
> 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
>
>
> 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.