Re: How can I record some position of context in Reduce()?

2013-03-14 Thread Roth Effy
. Any help will be appreciated. 2013/3/13 Roth Effy effyr...@gmail.com I want a n:n join as Cartesian product,but the DataJoinReducerBase looks like only support equal join. I want a non-equal join,but I have no idea now. 2013/3/13 Azuryy Yu azury...@gmail.com you want a n:n join or 1:n join

Re: How can I record some position of context in Reduce()?

2013-03-13 Thread Roth Effy
I want a n:n join as Cartesian product,but the DataJoinReducerBase looks like only support equal join. I want a non-equal join,but I have no idea now. 2013/3/13 Azuryy Yu azury...@gmail.com you want a n:n join or 1:n join? On Mar 13, 2013 10:51 AM, Roth Effy effyr...@gmail.com wrote: I want

How can I record some position of context in Reduce()?

2013-03-12 Thread Roth Effy
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.

Re: How can I record some position of context in Reduce()?

2013-03-12 Thread Roth Effy
it. On Tue, Mar 12, 2013 at 4:08 PM, Roth Effy effyr...@gmail.com 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

Re: How can I record some position of context in Reduce()?

2013-03-12 Thread Roth Effy
understand, can you give a simple example? On Wed, Mar 13, 2013 at 9:56 AM, Roth Effy effyr...@gmail.com wrote: sorry,I still can't understand how to use recordreader in the reduce(),because the input is a RawKeyValueIterator in the class reducecontext.so,I'm confused. anyway,thank you. 2013/3/12