[SERVER-4490] map reduce crash shard server if authentication enabled Created: 14/Dec/11  Updated: 29/Feb/12  Resolved: 16/Dec/11

Status: Closed
Project: Core Server
Component/s: MapReduce
Affects Version/s: 2.0.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: larry.loi Assignee: Kristina Chodorow (Inactive)
Resolution: Duplicate Votes: 0
Labels: sharding
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

software platform


Attachments: File map_reduce_test.rb     Zip Archive shardsvr2.zip    
Issue Links:
Duplicate
duplicates SERVER-4114 If a shard contacts another shard for... Closed
Operating System: Linux
Participants:

 Description   

I am running 2.0.1, my shard servers environment is working fine in general operations like insert, update, select delete etc. but it would crash the primary shard of a database if I running map reduce. if disable authentication, map reduce runs fine.
got a kinda message like that
Tue Dec 13 22:17:54 [conn5] ERROR: Uncaught std::exception: could not initialize cursor across all shards because : unauthorized db:XXXX



 Comments   
Comment by larry.loi [ 27/Dec/11 ]

thanks, it works fine.

Comment by larry.loi [ 14/Dec/11 ]

the attached log is which crashed shard server log file.

Comment by larry.loi [ 14/Dec/11 ]

this is the map reduce sample script

Generated at Thu Feb 08 03:06:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.