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

The MapReduce output field "Ok" value is not correct

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Mongodb 2.6.3, java driver 2.12.3

    Description

      The map reduce out put is

       
      { "serverUsed" : "localhost:27017" , 
        "results" : [ { "_id" : "Bui01" , "value" : 40.0} , { "_id" : "Bui02" , "value" : 52.0}] , 
        "timeMillis" : 2 , "timing" : { "mapTime" : 0 , "emitLoop" : 1 , "reduceTime" : 1 , "mode" : "mixed" , "total" : 2} , 
        "counts" : { "input" : 5 , "emit" : 5 , "reduce" : 2 , "output" : 2} , "ok" : 1.0},  

      but the field "ok" is 1.0, it should be 1, it's not correct.

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            Rambo Dong [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: