[SERVER-4101] Authenticated Shard MapReduce error Created: 19/Oct/11 Updated: 30/Mar/12 Resolved: 09/Nov/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 2.0.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Antoine Girbal | Assignee: | Kristina Chodorow (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
from thread: I'm running a configuration with (currently) two shards, each of which is a replica set with two full nodes and an arbiter. When I attempt to run a MapReduce query against the sharded collection with authentication enabled, I get this error: Thu Oct 13 13:57:47 uncaught exception: map reduce failed:{ }, scope: { startdate: new Date(1318032000000) }}, shardedOutputCollection: \"tmp.mrs.coll_1318528663_6\", shards: { metadata1/celes:27020,sabin:27020: { result: \"tmp.mrs.coll_1318528663_6\", timeMillis: 3012, counts: { input: 37450, emit: 39018, reduce: 65, output: 3 }, ok: 1.0 }, metadata2/mog:27022,shadow:27022: { result: \"tmp.mrs.coll_1318528663_6\", timeMillis: 3025, counts: { input: 38452, emit: 40075, reduce: 66, output: 3 }, ok: 1.0 } }, shardCounts: { metadata1/celes:27020,sabin:27020: { input: 37450, emit: 39018, reduce: 65, output: 3 }, metadata2/mog:27022,shadow:27022: { input: 38452, emit: 40075, reduce: 66, output: 3 }}, counts: { emit: 79093, input: 75902, output: 6, reduce: 131 } }", } On the other hand, with authentication disabled, the query works as expected. I've attached the log from celes, but I don't see anything interesting there except that tail notes that the file was truncated. It looks like mongod just crashes. Has anyone else seen this behavior? Does anyone have any suggestions for things to try? |
| Comments |
| Comment by Antoine Girbal [ 09/Nov/11 ] |
|
dup of |
| Comment by Kristina Chodorow (Inactive) [ 26/Oct/11 ] |
|
Can you send the log from before/during the crash? |