Sort 1 Discussion, By:
Please Login in order to post a comment
Hi, I am getting stuck in the way the test cases are built.
I storing the size of R as Nr and and a counterR as a class property (setting it via the MapReduce constructor) and incrementing it for every call to the reduce function.
counterR = 0;
SizeOfNr = 10;
if(value.size() == 1 && counterR < sizeOfNr)
My problem is:
for the first test case with 10 values, it works fine.
But for the second test case with 20 values, it fails.
Can you help me point where I am going wrong.
No more comments