Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5818

reduce in map reduce doesn't run with only one input document

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.4
    • Component/s: MapReduce
    • Labels:
      None
    • Environment:
      centos 6
    • ALL

      If you run a map reduce and only emit a single document, the reduce doesn't get run. At first it seems like this would make sense since there's nothing to reduce, but the reduce often changes the document format (gets counts, etc...) and therefore the output you get will be wrong for those operations.

            Assignee:
            Unassigned Unassigned
            Reporter:
            brianjohnson Brian Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: