Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在使用 map reduce 创建倒排索引时分配 docIds?我在单机上实现这一点的方法是拥有一个全局计数器。我无法使用 map-reduce 框架提出类似的解决方案。Zookeeper 可能是可能的解决方案,但我们可以做到这一点。