Re: Very strange Java Collection behavior in Hadoop

2012-03-21 Thread Milind.Bhandarkar
Owen, Is there interest in reverting hadoop-2399 in 0.23.x ? - Milind --- Milind Bhandarkar Greenplum Labs, EMC (Disclaimer: Opinions expressed in this email are those of the author, and do not necessarily represent the views of any organization, past or present, the author might be affiliated

Re: Very strange Java Collection behavior in Hadoop

2012-03-20 Thread madhu phatak
Hi Owen O'Malley, Thank you for that Instant reply. It's working now. Can you explain me what you mean by input to reducer is reused in little detail? On Tue, Mar 20, 2012 at 11:28 AM, Owen O'Malley omal...@apache.org wrote: On Mon, Mar 19, 2012 at 10:52 PM, madhu phatak phatak@gmail.com

Re: Very strange Java Collection behavior in Hadoop

2012-03-20 Thread Owen O'Malley
On Mon, Mar 19, 2012 at 11:05 PM, madhu phatak phatak@gmail.com wrote: Hi Owen O'Malley, Thank you for that Instant reply. It's working now. Can you explain me what you mean by input to reducer is reused in little detail? Each time the statement Text value = values.next(); is executed

Very strange Java Collection behavior in Hadoop

2012-03-19 Thread madhu phatak
Hi All, I am using Hadoop 0.20.2 . I am observing a Strange behavior of Java Collection's . I have following code in reducer public void reduce(Text text, IteratorText values, OutputCollectorText, Text collector, Reporter reporter) throws IOException { // TODO

Re: Very strange Java Collection behavior in Hadoop

2012-03-19 Thread Owen O'Malley
On Mon, Mar 19, 2012 at 10:52 PM, madhu phatak phatak@gmail.com wrote: Hi All, I am using Hadoop 0.20.2 . I am observing a Strange behavior of Java Collection's . I have following code in reducer That is my fault. *sigh* The input to the reducer is reused. Replace: list.add(value);