摘要:NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of
阅读全文
摘要:NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of
阅读全文
摘要:一、大纲 ### [HBase] ~~~ [HBase表热点] ~~~ [HBase二级索引] ~~~ [HBase中布隆过滤器] 二、HBase表的RowKey设计:RowKey的基本介绍:ASCII码字典顺序。 ### HBase表的RowKey设计:RowKey的基本介绍:ASCII码字典顺序
阅读全文
摘要:一、HBase API应用和优化 ### [HBase] ~~~ [HBase客户端操作part01] ~~~ [HBase客户端操作part02] 二、HBase API客户端操作 ### 创建Maven工程,添加依赖 <dependencies> <dependency> <groupId>or
阅读全文
摘要:一、Hbase 协处理器 ### [HBase] ~~~ [HBase协处理器] ~~~ [HBase协处理器之Observer案例代码开发] ~~~ [HBase协处理器之案例验证] ### 协处理器概述 ~~~ # 官方地址: ~~~ http://hbase.apache.org/book.h
阅读全文
摘要:一、HBase表的预分区(region) ### [HBase] ~~~ [HBase表的预分区] ~~~ [HBase表Region合并] ~~~ [HBase表Region冷合并] ~~~ [HBase表Region热合并] ### 为何要预分区? ~~~ 当一个table刚被创建的时候,Hba
阅读全文
摘要:一、HBase拆分机制、HBase的Region拆分策略: ### Region 拆分机制 ~~~ Region中存储的是大量的rowkey数据 ,当Region中的数据条数过多的时候, ~~~ 直接影响查询效率.当Region过大的时候.HBase会拆分Region , 这也是Hbase的一个优点
阅读全文
摘要:一、HBase读数据流程 ### [HBase] ~~~ [HBase原理深入之读数据流程] ~~~ [HBase原理升入之写数据流程] ~~~ [HBase的Flush机制及阻塞机制] ~~~ [HBase的Compact合并机制] ### HBase表中row可以按照字典序排序,切分region
阅读全文
摘要:一、HBase的flush(刷写)及compact(合并)机制 ### Flush机制 ~~~ 当memstore的大小超过这个值的时候,会flush到磁盘,默认为128M <property> <name>hbase.hregion.memstore.flush.size</name> <valu
阅读全文
摘要:一、HBase集群安装部署 ### 下载安装包 http://archive.apache.org/dist/hbase/1.3.1/ hbase-1.3.1-bin.tar.gz ### 规划安装目录 [root@linux121 ~]# /opt/yanqi/servers/ ### 上传安装包
阅读全文
摘要:一、HBase shell 基本操作 ### 进入Hbase客户端命令操作界面 [root@linux121 ~]# hbase shell ### 查看帮助命令 hbase(main):003:0> help ### 查看当前数据库中有哪些表 hbase(main):003:0> list TAB
阅读全文
摘要:一、HBase数据模型 ### HBase的数据也是以表(有行有列)的形式存储 ~~~ HBase逻辑架构 二、HBase物理存储 三、HBase整体架构 ### Zookeeper ~~~ 实现了HMaster的高可用:保存了HBase的元数据信息,是所有HBase表的寻址入口 ~~~ 对HMas
阅读全文
摘要:一、HBase 简介 ### [HBase] ~~~ [HBase简介之HBase是什么] ~~~ [HBase简介之HBase特点及应用场景] ~~~ [HBase数据模型] ~~~ [HBase整体架构] ### HBase是什么 ~~~ HBase 基于 Google的BigTable论文而来
阅读全文
摘要:NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of
阅读全文