Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为 Zetta 适配 HBase 接口 #2

Open
pseudocodes opened this issue Jun 19, 2020 · 0 comments
Open

为 Zetta 适配 HBase 接口 #2

pseudocodes opened this issue Jun 19, 2020 · 0 comments

Comments

@pseudocodes
Copy link
Contributor

pseudocodes commented Jun 19, 2020

背景

HBase 是一个构建运行在 Hadoop 分布式文件系统 (HDFS)上的非关系型列存储数据库,是 BigTable 的第一个开源实现版本,HBase 提供了稀疏数据集的容错存储方式,这种存储方式被应用在了许多大数据处理的场景中,HBase 同时也非常适合实时数据处理或对大量数据的随机读写访问; Zetta 被设计为构建在 TiKV 上的 BigTable, 支持多场景下的表格存储,为了扩大其在在线访问领域的应用场景,更容易将已有的 HBase 在线业务无缝迁移到 Zetta 系统中,我们计划对 HBase 客户端协议进行适配。我们期待获得一个较为简洁的适配方案,能够满足大部分 HBase 的数据访问场景。

问题

1. HBase 的客户端访问依赖 Zookeeper,考虑如何在新的适配方案中去掉 Zookeeper 的依赖
2. Meta 表的信息如何构成,如何将 Zetta 的数据 Region 信息构建成 hbase:meta
3. 优先适配 HBase client 的数据访问流程,对 HBase RPC 的协议进行解析
4. 如何让 HBase client 感知 Zetta server 扩容缩容

工作内容

1. 重写满足 HBase 需求的 ZooKeeper 最小功能实现
2. 实现 RegionServer 数据访问相关 RPC 交互的流程
3. 基于现有 Zetta 的功能实现 HBase 的数据访问逻辑
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant