I want to copy the values from the key and Iterator of value input in a reduce function. I was using a ArrayList to copy the list content into. I was using a
My input is supposed to have only one key into the reduce with around 625 value elements in the list. I do get the value elements copied but I have all of them with the value of the last element in them.
I think the reduce process processing the list but at the termination of the while loop it is doing something I cannot understand.
Thanks a lot