hbase-0.94.2 source
文章平均质量分 84
leibnitz09
这个作者很懒,什么都没留下…
展开
-
hbase源码阅读-start flow
today i will learn to hit the hbase source codes.for the rule from simple to difficult,i will get a standalone mode to run hbase to do this.ok,let's look at the shell start-hbase.sh i...原创 2012-05-06 15:46:13 · 129 阅读 · 0 评论 -
HBase Versus Bigtable(comparison)
below views are all from hbase's guide(maybe with my some comments fonted by deferent size) Overall, HBase implements close to all of the features described in Chapter 1. Where it differs,...原创 2014-07-01 23:13:46 · 143 阅读 · 0 评论 -
2。hbase CRUD--Caching VS Batch
1in case of ONE region,a table with 10 rows and two familys(each contains 10 cols),if a Scan is set by caching and batch below will spawn appitiate rpcs: in generate ,a additional rpc is generate...2013-08-26 17:28:04 · 107 阅读 · 0 评论 -
hbase split part:regions split policy
part I:split policy if u have used some index tools like lucene,there are some factors to control how many docs to merge some segs to a large one,and whether to freeze some large enough seg file...2014-07-10 17:41:30 · 130 阅读 · 0 评论 -
hbase -regions assignment(in creating table)
as iwinit dug in source codes[1],the 'regions assigment' in hbase is complex and trickle.there are many of zk related events across master and rs,and huge of pre-post processes in it.below is a ab...2014-07-22 17:45:18 · 95 阅读 · 0 评论 -
2。hbase CRUD--Filter flow
Note:Filer.filterRow(list) is incompatible with scan with batch,why?i think this are two mode to limit KVs to be returned: -batch returned all KVs on limit -filterRow(list) may be adjusted...原创 2013-09-20 09:41:49 · 90 阅读 · 0 评论 -
hbase-memstore flush -1 overview
as described in title,there some memory buffers in hbase called 'memstore' which will be stuffed when writing.this policy provides a asynchronization operations in writes(if ignore the wal ,of cours...2014-08-05 17:44:35 · 122 阅读 · 0 评论 -
hbase-mvcc principle
Part I---mvcc concepts in most of databases,the acid symentics are ganranteed ,also,like hbase.but the formers are based on the whole db object,and hbase is based on row(so called hbase provid...2014-08-06 10:47:42 · 199 阅读 · 0 评论 -
5。hbase高级部分 - Coprocessor (vs Filter)
?what in a SQL DB Server,in tradictionally,contains Triggers or Procedures,and the privior is used to handle server's internal transactions,most of 'post-do' operations;the laster also is subrout...2013-10-13 23:38:16 · 117 阅读 · 0 评论 -
5。hbase高级部分:table design schema
study and summarie below art 1:Table attributes attrdefaultusage/principleuse casenote Bloom filterdisablecost some mem to impove lookup time TBDdo huge range scan table...2013-10-16 00:04:53 · 147 阅读 · 0 评论 -
hbase-hfile format
what is every db holds its storage level,either memory or fs.this is similar to,hbase,it has HFile as underlying data structure which will be stored in fs or dfs. exquisite data structure also...2014-08-17 23:19:18 · 156 阅读 · 0 评论 -
hbase-region balancer
why along with the time goes,as unreasonable table design,or some crash nodes etc,these will cause some regionservers have overloaded regions and/or much underloaded regions,so a balancer is nece...2014-08-28 13:52:41 · 372 阅读 · 0 评论 -
hbase-backup master
as some distribute systems ,a spare/second master is always supplied to guarantee high availablity. like hbase,u can run some backup masters against with master,when the real master is failure,...原创 2014-08-28 13:55:24 · 301 阅读 · 0 评论 -
hbase -how many regions are fit for a table when prespiting or keeping running
how many regions are thinked as too few or to too many? some conditions are worth of consideration for a table(regardless of hbase's configurations):-first ,keep the cluster more 'static' when u...2014-06-27 11:46:43 · 119 阅读 · 0 评论 -
finished reading the definitive guide now
after a long long and slow slow study ,i have finished reading this hbase book!as learning some degree courses and optimizing the hbase cluster,it cost huge time for me to do that,so less time for...2014-06-26 17:29:43 · 123 阅读 · 0 评论 -
hbase HTablePool-实现原理-概览
一。流程图 二。原理在使用HTable前要建立一个HTablePool实例。明白这个可以考虑为table的factory:get 或close,或close pool都可以。这个实例会同时建立一个内部object:PoolMap,其实不是真正的map,只是一个wrapper而已。这个map包含以table为key,相对应key为values的Pool,这种pool三种类型,详细见上...2013-06-05 09:25:10 · 172 阅读 · 0 评论 -
hbase HTablePool-实现原理-CRUD
Ref:hbase HTablePool 实现原理 -12013-06-05 09:26:10 · 96 阅读 · 0 评论 -
hbase-源码阅读概要
现在有时间,有需求进行详细阅览大牛写的代码,这无疑是无比的愉悦。计划是1个月内搞个7,8成的。下面是阅读顺序:1。hbase启动/停止流程 认识hbase基本运作2。hbase CRUD 这是任何一个general project不可或缺的3。hbase rpc/ipc/proxy通信机制 数据通信4。hbase memstore/blockcache;h...2013-07-04 23:21:26 · 86 阅读 · 0 评论 -
3。hbase rpc/ipc/proxy通信机制
一。RPC VS IPC (relationship/difference)IPC inter-process communicationas [1] said ,there are two types ipc by now:1.LPC like RPC,but this is a 'epitome' of it,that is in general it will be us...2013-07-15 15:12:20 · 580 阅读 · 0 评论 -
5。hbase高级部分:compact/split/balance及其它维护原理--the flow of creating table
1.principle 2.note-as is hbase-0.94.2,the table .meta. is not splittable,therefore,there is only ONE region in table -root-.that is if you try to split the root you will do it w/o err...2013-07-17 23:43:21 · 189 阅读 · 0 评论 -
2。hbase CRUD--Put operations(client)
flow: FAQ:-why META table can not be splited?if u try to split the table 'meta',u will see the warn log : Cannot split meta regions in HBase 0.20 and abovei dont know how this case a...2013-07-25 12:10:43 · 142 阅读 · 0 评论 -
2。hbase CRUD--Put operation(server side)
flow: some conclusions:--there is a mutation process mudel interacts Memstore with HLog, 1.MVCC insert 'memStoreWriter' number,then write back these edits to Memstore(s) with this numb...2013-07-25 12:15:11 · 142 阅读 · 0 评论 -
5。hbase-compact
todo,todo........2013-07-29 17:56:31 · 90 阅读 · 0 评论 -
2。hbase CRUD--Read(query) operations
read Note:-Gets will be converted to scan per Get in RS-scan is needless to use offset for retrieving ranged rows.this is different from common RMDBS.and this is implemented by RS ...2013-08-15 16:41:33 · 112 阅读 · 0 评论 -
2。hbase CRUD--Read(Scan) operations(server side)
just recovered from a disease,i should finish the retain part of work now... yes,as u can see,the Scan/Get oper from hbase is some more tricky,as the kvs multi-dimensions and related to stor...2013-08-15 17:39:29 · 156 阅读 · 0 评论 -
5。hbase高级部分:compact/split/balance及其它维护原理-delete table
* table disabled is NOT different from region,when all regions have been closed,then the table 's disabled finally.* region closing state is set on zk from client,and transition to closed by...2013-08-18 02:53:54 · 136 阅读 · 0 评论 -
2。hbase CRUD--Lease in hbase
1.What is Leasein general,between the communication of client and Region Server,there are RPCs in there.Lease is a mechanism to hold a reference object updated each client rpc. so Lease is si...2013-08-23 02:37:04 · 91 阅读 · 0 评论 -
hbase write flow(byte level)
here is a byte flow of mutationlevelformatusagetop(abstract,user facing)[Put,Put…]HTable#put(list)encapsulation[HLogKey,WALEdit] WALEdit:kv1,kv2 || v[t...2017-08-14 17:04:18 · 122 阅读 · 0 评论