Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.20.2
-
None
-
None
Description
1) Sometimes We only need get the elements count of the input values of Reducer task,
but we have to iterate all the input values to calculate it.
2) Sometimes We only need get a few elements (for example top n,last n ,or random ) from the input values of Reducer task,
if it can use ArrayList or other type instead Iterable when use reduce(Object, Iterable, Context),it 's more conveniency.