# HBase QA

HBase Q & A

## INCONSISTENT status

### SYSTEM.FUNCTION表损坏

HBase启动的时候, 用hbase shell的list是看不到任何table的. 启动sqlline后, phoenix会创建上面的四张系统表.

### 节点假死

hbase hbck检查:

## RegionSplit

#### 不同集群会复制

http://blackwing.iteye.com/blog/1991901这里说到没有使用同一个集群,会被认为不同的文件系统,就会拷贝,而不是移动.

hbase.hregion.max.filesize默认的大小是10G(107374182400),而我们的HFile有些超过10G,为了不Split,可以设置为50G=53687091200.

#### Split Retry Many Times

But Still Not Work!!! Ask for help…

I Have a HFile generate by importtsv, the file is really large, from 100mb to 10G.
I have changed hbase.hregion.max.filesize to 50GB(53687091200). also specify src CanonicalServiceName same with hbase.

but instead copy and split hfile happening, which take long time.

the log Split occured while grouping HFiles, retry attempt XXX will create child _tmp dir one by one level.

even though the process finished, original hfile did’t delete. I was wondering why mv/rename command not happend.

A:This is because the table region changes, not match with the regions when you get the HFiles

#### Why Split

If the region boundaries have changed during the course of bulk load preparation, or between the preparation and completion steps, the completebulkload utility will automatically split the data files into pieces corresponding to the new boundaries. This process is not optimally efficient, so users should take care to minimize the delay between preparing a bulk load and importing it into the cluster, especially if other clients are simultaneously loading data through other means.