2 Star 22 Fork 23

Al-assad/docker-hbase

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Gitter chat

docker-hbase-phoenix

Docker HBase + Phoenix 开发环境单机快速部署


项目简介

基于 big-data-europe 的仓库代码修改,主要升级了 HBase 版本到 2.X, 增加 Phoenix 的配置,增加 HBase 对 Hadoop 共享库的配置,同时修改 HBase 组件由 http 下载为本地二进制包拷贝(天朝的墙....),减少构建过程中键盘被砸坏的风险。

主要组件版本如下:

  • Hadoop-2.7.4
  • Zookeeper-3.4.10
  • HBase-2.0.0
  • Phoenix-5.0.0

使用过程

下载仓库

仓库中包含完整的 hbase-2.0.0-bin.tar.gz 二进制包和 phoenix-5.0.0-hbase-2.0.tar.gz 中的 phoenix-5.0.0-server.jar ,仓库体积比较大,这也是无奈,毕竟在国内从 apache 历史仓库下载 hbase 历史版本的体验简直就是噩梦。

git clone https://github.com/Al-assad/docker-hbase.git

国内环境可以从 gitee 镜像仓库下载,毕竟 github 小水管不是吹的;

git clone https://gitee.com/assad/docker-hbase.git

构建镜像

docker-compose 构建基础镜像。

make build

运行 Standalone 版本

Standalone 版本依赖结构与 quickstart HBase documentation 一致,只不过使用了 HadoopHDFS 版本作为底层储存。

主要用于开发测试环境的快速搭建。

docker-compose -f docker-compose-standalone.yml up -d

运行 Local Distributed 伪分布式版本

运行该版本会使用一个独立的 ZookeeperHMaster 节点和 HResgionserver 节点也会分开为独立容器。

docker-compose -f docker-compose-distributed-local.yml up -d
MIT License Copyright (c) 2019 余林颖 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Hadoop+HBase+Phoneix Docker 快速部署,用于快速构建开发环境 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

接近3年前评论了仓库
3年前评论了仓库
4年多前评论了仓库
4年多前评论了仓库
接近5年前评论了仓库
加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/assad/docker-hbase.git
git@gitee.com:assad/docker-hbase.git
assad
docker-hbase
docker-hbase
master

搜索帮助