摘要: 1、count统计结果错误 这是由于分布式集群正在迁移数据,它导致count结果值错误,需要使用aggregate pipeline来得到正确统计结果,例如: db.collection.aggregate([{$group: {_id: null, count: {$sum: 1}}}]) 引用: 阅读全文
posted @ 2017-03-20 16:06 hadoop_dev 阅读(794) 评论(0) 推荐(0) 编辑