HBase??????????
???????????? ???????[ 2013/5/14 13:40:33 ] ????????
????????Book Performance Tuning?????????а?????????????????????????????Ч?????????????????????????????????????????????Щ???????????д???????????
???????????
????zookeeper.session.timeout
??????????3????(180000ms)
?????????RegionServer??Zookeeper??????????????????????ReigonServer??Zookeeper??RS????嵥???????HMaster????????????????server?????regions????balance????????????RegionServer???.
?????????
???????timeout??????RegionServer???????????failover?????ó?1????????????????????????????????failover???
???????????????????????ЩOnline????RegionServer??崻??????????????(?????????crash?????????????????)?????????timeout?????ò???????????ReigonServer???????RS???????????HMaster?????balance??????????RS???????????balance??????????????????????????????????RS????????????
????hbase.regionserver.handler.count
??????????10
?????????RegionServer????????IO???????
?????????
???????????????????????????
?????????IO??????????????????????????????Big PUT????(??????????PUT??????????cache??scan????????Big PUT)??ReigonServer????????????????
????????IO??????????????????????????TPS?????????????
????????????????????server??region??????????????????????????region???????????memstore????flush???μ??д??????????TPS??????IO??????????á?
??????????????Enabling RPC-level logging???????????????????????????GC?????????????????????????????IO???????
????????????????? Hadoop and HBase Optimization for Read Intensive Search Applications????????SSD???????????IO??????100???????ο???
????hbase.hregion.max.filesize
??????????256M
?????????????ReigonServer?????Reigon???С??????Region??????????????Region?????split???С??region??
?????????
????Сregion??split??compaction??????????region??compactСregion???storefile??????????????????split??compaction????????
?????????????????Сregion?????split?? compaction????????????????region?????????????????????鷳???????????ЩHbase??bug??
???????512???μ????Сregion??
??????region???????????split??compaction??????????compact??split???????????????????????д?????????????????region??ζ?????storefile??compaction?????????????????
???????????region???????????????????????????????????????????compact??split????region??????????????????????????????????????д?????
???????split??compaction???????????????а?????
????compaction???????????split?????????????????????
????????????????????????????????????????100G??????????????split(RegionServer?????δ????100G??region??split)??
?????????RegionSplitter?????????????split??????split??
???????split?????????????????????split????????????????????????????online??????á?
??????淽?棬Сregion??????memstore???С??????????region??????С?????У????????flush?app??IO wait???????С????store file?????????????
????hbase.regionserver.global.memstore.upperLimit/lowerLimit
??????????0.4/0.35
????upperlimit?????hbase.hregion.memstore.flush.size ??????????????? ??????memstore?????????flush??memstore?????????ReigonServer?????г???????memstore?????memstore???δ??flush.size??jvm??heap??????????ò????????????memstores????????檔
??????ReigonServer?????е?memstore?????????????heap??40%???HBase?????block???е???2?flush??Щmemstore?????????memstore??????檔
????lowerLimit????? ?upperLimit????????????memstore??????35%?????????flush???е?memstore?????????Щ?????y???memstore??????flush?????????????block??lowerLimit????????????flush????????????????????£????memstore????????????????flush???????????????????д??????HBase??????????????????
????????????????Heap??汣??????????????????????????????????????????????????Щ?????????????????????????????濪??????????????????????????????á?
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11