Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> How can I record some position of context in Reduce()?


Copy link to this message
-
Re: How can I record some position of context in Reduce()?
Through the RecordReader and FileStatus you can get it.
On Tue, Mar 12, 2013 at 4:08 PM, Roth Effy <[EMAIL PROTECTED]> wrote:

> Hi,everyone,
> I want to join the k-v pairs in Reduce(),but how to get the record
> position?
> Now,what I thought is to save the context status,but class Context doesn't
> implement a clone construct method.
>
> Any help will be appreciated.
> Thank you very much.
>