hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohamed Ghareb <m.ghar...@tedata.net>
Subject RE: presplitting regions
Date Wed, 19 Feb 2014 10:53:20 GMT
Ok my row key will be start from 9990000000000 and end in 3000000000000000 

-----Original Message-----
From: saint.ack@gmail.com [mailto:saint.ack@gmail.com] On Behalf Of Stack
Sent: Wednesday, February 19, 2014 12:29 AM
To: Hbase-User
Subject: Re: presplitting regions

What are you trying to do?  Do you want hex keys or decimal keys?  Usually you'll want keys
fixed-length and zero-padded if you don't want to be surprised by how they sort.


On Mon, Feb 17, 2014 at 3:28 AM, Mohamed Ghareb <m.ghareeb@tedata.net>wrote:

> Kindly when I create new tables with presplitting region, I need to 
> use the firstrow & lastrow argument, my question if my key is number 
> "integer" can I put start & end row with decimal number or I need to 
> convert it to hexadecimal number hbase 
> org.apache.hadoop.hbase.util.RegionSplitter tablename HexStringSplit 
> --firstrow 9990 --lastrow 3000000 -c 5
View raw message