hbase-site.xml 中的 Zookeeper 仲裁设置到底是什么?
hbase-site.xml 中的 Zookeeper 仲裁设置到底是什么?
What exactly is the zookeeper quorum setting in hbase-site.xml?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如 hbase-default.xml 中所述, 这是设置:
Edward J. Yoon 此处。 为清楚起见,我进行了编辑:
您还应该阅读原始版本,以防我错误翻译了他试图呈现的概念。
我对 Apache Zookeeper 中的仲裁机制的理解是,它明确定义了跨多个预定义主机的复制仲裁。如果未满足此法定人数,则不同意的分区将被拆分到辅助分区,直到 Zookeeper 可以将它们与主分区重新集成。
这为 Hadoop 的最终一致性模型添加了更多粒度。与此同时,HBase 目前正在进一步将 Zookeeper 与其代码集成。
As described in hbase-default.xml, here's the setting:
What this actually does has been answered by Edward J. Yoon here. With editing on my part, for clarity:
You should also read the original version, in case I mistranslated the concepts he was trying to present.
My understanding of the quorum mechanism in Apache Zookeeper is it explicitly defines a replication quorum across several pre-defined hosts. If this quorum is not met, the partitions that disagree are split off to a secondary partition until Zookeeper can reintegrate them with the primary partition.
This adds more granularity to Hadoop's eventual consistency model. HBase, meanwhile, is currently in the process of further integrating Zookeeper with its code.
从 hbase-default.xml 文件:
从入门的要求部分:
希望有帮助。
From the hbase-default.xml file:
And from the Getting Started's Requirements section:
Hope that helps.