hbase官方文档

hbase官方文档 - Version 3.0.0-SNAPSHOT

启动组件
  • QuorumPeerMain
    • zookeeper集群的启动入口类,是用来加载配置启动QuorumPeer线程的
    • 首先启动hadoop,然后问题就来了:zookeeper和hbase的启动顺序是什么?
      • 先启动hbase:hbase有内置的zookeeper,如果没有装zookeeper,启动hbase的时候会有一个HQuorumPeer进程。
        • HQuorumPeer表示hbase管理的zookeeper
      • 先启动zookeeper:如果用外置的zookeeper管理hbase,则先启动zookeeper,然后启动hbase,启动后会有一个QuorumPeerMain进程。
        • QuorumPeerMain表示zookeeper独立的进程
  • HRegionServer
基础配置
  • Managed Splitting -- hbase-default.xml , hbase-site.xml
    • hbase.regionserver.region.split.policy
    • hbase.hregion.max.filesize,
    • hbase.regionserver.regionSplitLimit
  • Managed Compactions -- 默认每7天一次

Architecture

hbase 数据模型
  • https://dzone.com/articles/understanding-hbase-and-bigtab
  • bigtable
    • The map is indexed by a row key, column key, and a timestamp; each value in the map is an uninterpreted array of bytes
  • hbase
    • Users store data rows in labelled tables. A data row has a sortable key and an arbitrary number of columns. The table is stored sparsely, so that rows in the same table can have crazily-varying columns, if the user likes
    • A table's column families are specified when the table is created, and are difficult or impossible to modify later. It can also be expensive to add new column families, so it's a good idea to specify all the ones you'll need up front.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值