You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Saurabh Dutta <sa...@impetus.co.in> on 2012/12/25 09:31:23 UTC

Rowkey with startkey endkey and numberofregions

Hi,

I'm trying to create regions using "startkey", "endkey" and "number of regions".

I'm using the HBase Java API and when I do it with the below values I'm getting exceptions.

Startkey 00000
EndKey 11111
No. of Regions 3

But when I'm specifying the no. of regions servers to be 4 it works.

Startkey 00000
EndKey 11111
No. of Regions 4

Can somebody help me understand this. Appreciate your help.

--
Sincerely,
Saurabh Dutta


________________________________






NOTE: This message may contain information that is confidential, proprietary, privileged or otherwise protected by law. The message is intended solely for the named addressee. If received in error, please destroy and notify the sender. Any use of this email is prohibited when received in error. Impetus does not represent, warrant and/or guarantee, that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference.

Re: Rowkey with startkey endkey and numberofregions

Posted by ramkrishna vasudevan <ra...@gmail.com>.
What is the exception you are getting?
When you got no of regions as 3 how many Region servers did you have?

Regards
Ram

On Tue, Dec 25, 2012 at 2:01 PM, Saurabh Dutta
<sa...@impetus.co.in>wrote:

> Hi,
>
> I'm trying to create regions using "startkey", "endkey" and "number of
> regions".
>
> I'm using the HBase Java API and when I do it with the below values I'm
> getting exceptions.
>
> Startkey 00000
> EndKey 11111
> No. of Regions 3
>
> But when I'm specifying the no. of regions servers to be 4 it works.
>
> Startkey 00000
> EndKey 11111
> No. of Regions 4
>
> Can somebody help me understand this. Appreciate your help.
>
> --
> Sincerely,
> Saurabh Dutta
>
>
> ________________________________
>
>
>
>
>
>
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.
>