需要对大数据进行随机,实时读写访问时,请使用Apache Hbase。该项目的目标是托管非常大的表。
开源的,分布式的,版本化的非关系数据库,模仿google的Bigtable.
Just as Bigtable leverages the distributed data storage provided by the Google File System,
Apache HBase provides Bigtable-like capabilities on top of Hadoop and HDFS.
2006-google发表了bigtable的白皮书
2006-开始开发hbase
2008-hbase正式成为apache的子项目
2010-正式成为apache的顶级项目
Hbase架构
http://www.cnblogs.com/csyuan/p/6543018.html
Hbase集群安装部署
集群配置
zk集群3台
hadoop集群3台
hbase集群3台
1、上传
2、解压
3、修改配置文件
hbase-env.sh
JAVA_HOME=
ZK=
hbase-site.xml
加入配置信息
regionservers
加入葱节点
4、解决以来问题
把相关版本的zookeeper和hadoop的依赖包导入到hbase/lib下
软连接hadoop配置
ln -s /Library/hadoop/core-site.sml /hbase/conf
ln -s /Library/hadoop/hdfs-site.sml /hbase/conf
5、启动
单节点: bin/start-daemon start master
bin/start-daemon start regionserver
全启动: bin/start-hbase start
6、以界面
http://bigdata:10610