【问题标题】:Unhandled rejection MongoError: CMD_NOT_ALLOWED: mapreduce未处理的拒绝 MongoError: CMD_NOT_ALLOWED: mapreduce
【发布时间】:2017-08-15 01:01:42
【问题描述】:

我正在尝试在免费的Mongodb-atlas-cloud 计划中使用 mapReduce 方法,但出现此错误

at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at TLSSocket.Readable.push (_stream_readable.js:134:10)
at TLSWrap.onread (net.js:547:20)
Unhandled rejection MongoError: CMD_NOT_ALLOWED: mapreduce
at Function.MongoError.create ...

注意:我可以写和读没有任何问题

【问题讨论】:

    标签: mapreduce mongodb-atlas


    【解决方案1】:

    来自 MongoDB 云服务支持

    目前免费层不允许使用 Mapreduce。 https://docs.atlas.mongodb.com/unsupported-commands/

    【讨论】:

      猜你喜欢
      • 2018-12-11
      • 2019-02-24
      • 2018-02-06
      • 2016-09-09
      • 2019-03-15
      • 2016-07-21
      • 2021-12-30
      • 1970-01-01
      • 2019-04-16
      相关资源
      最近更新 更多