hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: How to get the splitKeys for a table?
Date Fri, 30 May 2014 18:59:02 GMT
Take a look at the following method in HTable:

  public Pair<byte[][],byte[][]> getStartEndKeys() throws IOException {

Cheers


On Fri, May 30, 2014 at 11:51 AM, jeremy p <athomewithagroovebox@gmail.com>
wrote:

> Let's say I created a table with this method in HBaseAdmin :
> createTable(HTableDescriptor desc, byte[][] splitKeys)
>
> Now, let's say I want to open up that table and get the array of splitKeys
> I used when creating the table.  Is that possible?
>
> --Jeremy
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message