Created
February 20, 2012 06:24
-
-
Save dchentech/1868115 to your computer and use it in GitHub Desktop.
mongoid运行mapreduce出现unknown out specifier [db]错误
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
错误信息:Database command 'mapreduce' failed: (assertion: 'unknown out specifier [db]'; assertionCode: '13522'; errmsg: 'db assertion failure'; ok: '0.0'). | |
解决方案:设置out现象里的db参数应该是一个字符串键,比如{"db" => "mapreduce_db", :replace => "tmp_mapreduce"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment