hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rendon, Carlos (KBB)" <CRen...@kbb.com>
Subject RE: Why hbase need manual split?
Date Wed, 06 Aug 2014 20:28:33 GMT
You are just starting up a service and want the load split between multiple region servers
from the start, instead of waiting for the manual splitting.

Say you had 5 region servers, one way to create your table via HBase shell is like this

create 'tablename', 'f', {NUMREGIONS => 5, SPLITALGO => 'UniformSplit'}

Of course, the exact way you do the split depends on the data you plan to store.

Cheers,
Carlos

-----Original Message-----
From: Liu, Ming (HPIT-GADSC) [mailto:ming.liu2@hp.com] 
Sent: Tuesday, August 05, 2014 11:29 PM
To: user@hbase.apache.org
Subject: Why hbase need manual split?

Hi, all,

As I understand, HBase will automatically split a region when the region is too big.
So in what scenario, user needs to do a manual split? Could someone kindly give me some examples
that user need to do the region split explicitly via HBase Shell or Java API?

Thanks very much.

Regards,
Ming

Mime
View raw message