hbase
共 34 篇文章
zookeeper-network partition
env: hbase,94.26 zookeeper,3.4.3 --------------- 1.downed node this morning we found a regionserver(host-34) downed in our monitor.so we dived into the logs of hbase and found that in this host: 2016-02-29 00:50:36,799 INFO [regionserver60020-SendThread(host-04:2181)] ClientCnxn.java:1083 Client se…
hbase-export table to json file
i wanna export a table to json format files,but after gging,nothing solutions found.i known,pig is used to do soome sql like mapreduces stuff; and hive is a dataware to build on hbase.but i cant some soutions /wordaround to do that too( maybe i miss something) so i consider to use mr to figure out …
hbase-logroll optimizations
as u know,the hbas's data logs (akka wal) will roll after certain intervals to speedup restore data lost occasionally.and of course,both log rolling and flush memstore will block up all wirtes but reads.so if decreasing the log rolling will optimize the cluster perf. 1.case during the high load per…
2015-09-21 12:10 · hbase
hoya--hbase on yarn
Introducing Hoya – HBase on YARN application architecutre
upgrades of hadoop and hbase
1.the match relationships between hadoop and hbase nowaday that means if you are now using hadoop1.0.x and hbase-0.94.x,and assume u want to upgrade to hadoop-2.5.x and hbase-1.0.x,the steps should be followed: 2.upgrade 2.1 upgrade paths as described above,there are two lines to achive the upgrade…
hbase-how to know which regionservers are stuck when shutdown a cluster
u know,when u shutdowning a hbase cluster,sometimes it costs very long time to complete.and now how to fiind what regionservers are kept on alive is simple and directly by following these steps: 1.run shutdown shell stop-hbase.sh 2.issue zk-client zkCli.sh 3.run command 'ls /hbase/rs' then u can se…
2014-10-22 15:09 · hbase
hbase-bloom filter
there is no notable performance increments in case of using 'get' query and with high hit ratio.(as hbase internally supports range hash already).but there is a try worth if multi storefiles exist there to reduce io. ref: 从哈希存储到Bloom Filter Bloom Filter概念和原理 【原】布隆过滤器 (Bloom Filter) 详解 对HBase中Bloomf…
2014-10-20 16:06 · hbase
compile hbase
IF u want to compile a hbase project specified to your own hardware configures(eg. 32 bit jdk to 64),OR release after some changes eg. applied a patch ,optimized some features,u can try this one case. there are some rough steps to compile a hbase project: 1.download a tarball a.u can down it direcl…
2014-10-15 17:42 · hbase
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 necessary to balance the load(regions count) per regionserver to avoid uncomplete resource usages. how to in…
2014-08-28 13:52 · hbase · hbase-0.94.2 source
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, it may have to because either the Bigtable paper was not very clear to begin with, or it relies on other open …
2014-07-01 23:13 · hbase · hbase-0.94.2 source
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 are running a cluster with heavy writes(updates),that means for a regionsever,it will hold many large s…
2014-06-27 11:46 · hbase · hbase-0.94.2 source
hbase -tables replication/snapshot/backup within/cross clusters
serial no solutions level preconditino runon flow advances shortcomings use cases 1 direct client API log - transfer data via both clusters 2 export/import log -src then target -mr gen hdfs seq files -transfer files -import with mr -support time-range filter 3 copy table stream src case: 1.copy dir…
2014-06-24 18:09 · hbase
some important optimized advices for hbase-0.94.x
The following gives you a list to run through when you encounter problems with your cluster setup. 1.Basic setup checklist This section provides a checklist of things you should confirm for your cluster, before going into a deeper analysis in case of problems or performance issues. File handles . H…
2014-06-20 17:56 · hbase · hbase-guideline
hbase PerformanceEvaluation benchmark - 0.94.2 VS 0.94.16 VS 0.96
i worked to benchmark hbase performance this weekend as i never used to do this befoer.after completion of these tasks,i found some good test methods and implied interesting. some conclusions: ---- app level --- a.hbase 94.2 is little faster then 94.16 in writing;but in the opposite in the read cas…
install snappy compression in hadoop and hbase
1.what is snappy 2.why to use it 3.how it to work 4.compare to similar compressions 5.install it on hadoop 6.intall it on hbase 6.2 verify a. b. c.use tool 'HFile' hbase org.apache.hadoop.hbase.io.hfile.HFile -f /hbase/#tablename#/f7cd3ee8cd7c72f1789b018f6803e837/f1/3197441493d14fc791f49f80c07fe656…
downgrade hbase from 0.94.16 to 0.94.2
we have a cluster about 25 nodes,which are installed hbase-0.94.2,yeah it is find for over second weeks.but last two weeks i upgaded to 0.94.16,there are some bad network showed in ganglia.as below: in the middle while,some strange things are occured: 2014-03-07 00:01:59,782 DEBUG [IPC Server handl…
2014-03-07 02:25 · hbase
2。hbase CRUD--Caching VS Batch
1 in 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 generated when invoke next in clientscanner to determine whether scan is done in this region. so there is a app…
2013-08-26 17:28 · hbase · hbase-0.94.2 source
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 RS(region in fact) @see 5。hbase高级部分:compact/split/balance及其它维护原理--the flow of creating table
2013-08-18 02:53 · hbase · hbase-0.94.2 source · TODO
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 storefile and memstore. ----Part 1:Abstract first ,have a glance at the query flow below: there are two main loop…
2013-08-15 17:39 · hbase · hbase-0.94.2 source
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 used KeyValueHeap to mark scan position -in hbase,there is a param called "hbase.client.scanner.max.result.size" for …
2013-08-15 16:41 · hbase · hbase-0.94.2 source