Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2007

Is it possible that use ArrayList or other type instead Iterable when use reduce(Object, Iterable, Context)?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.20.2
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            huiwenhan Han Hui Wen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: