HBase Compaction
Merge
接着上回的Split说,既然有split,那应该对应的有merge吧。然而并没有,也不是完全没有,只是对merge的支持并不像split这么自然,有一些不太稳(kao)定(pu)的工具,可以看OnlineMerge和Master initiated automatic region merge。
HBase Split detail
split的具体过程
切分的操作是由各个region server自己决定,但它们要通知到Master来及时地更新META信息。 以下基本翻译自这里。
HBase Split
split是什么?
HBase的某个或多个region上的文件量达到一定规模,或者人工想拆分,就会进行split, 就是将各个region上的数据拆成两份(一定是一分为二,如果想分成三份就需要进行两次split), 拆分一定是按某个key值,从key这里一切为二,小于key的在前面,大于等于key的在后面。
Solution of Minimum Height Trees
I have trained my algorithm on leetcode a period of time.
Today, I will explain my solution about Minimum Height Trees. My solution beat ~95% against others but it is hard to explain what is I do. Please allow me to introduce the solution from easy to hard. If you only need the last solution, jump to
记一次cloudera机器重装
先上结论:线上机器千万别没事yum update
以及同类的升级操作