[ https://issues.apache.org/jira/browse/HADOOP-5266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jothi Padmanabhan updated HADOOP-5266: -------------------------------------- Attachment: hadoop-5266-v2.patch New patch incorporating review comments. Made some additional changes based on offline comments from Devaraj and Owen. Some points: # Functionality is supported only for the new API # User creates a MarkableIterator that takes the original iterator in its constructor. See TestValueIterReset.java # Even though the functionality is supported only for new API, BackupStore.java is in mapred package as it access IFile and Merger.Segment which are package private > 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, hadoop-5266-v2.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.