Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-606

MapReduce Fails when specifying a collection name

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.9.0
    • Affects Version/s: None
    • Component/s: API
    • None

      Due to the new "obeyReadPreference" code, any mapReduce which tries to use a straight forward collection name for output fails.

      The code is hardwired to cast "out" to a DBObject, which is counter to the docs/behavior of MongoDB.

            Assignee:
            brendan Brendan W. McAdams
            Reporter:
            brendan Brendan W. McAdams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: