hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serega Sheypak <serega.shey...@gmail.com>
Subject Re: Get default split policy
Date Fri, 03 Oct 2014 09:04:24 GMT
  HTableDescriptor descriptor =
admin.getTableDescriptor(Bytes.toBytes("my_table"));
  System.out.println("descriptor.getRegionSplitPolicyClassName() : " +
descriptor.getRegionSplitPolicyClassName());

prints:
descriptor.getRegionSplitPolicyClassName() : null

What do I do wrong?

2014-10-03 12:53 GMT+04:00 Serega Sheypak <serega.sheypak@gmail.com>:

> Hi, I do can get it from Java API I was wandering is there any chance to
> get it use shell.
>
> 2014-10-02 23:48 GMT+04:00 Ted Yu <yuzhihong@gmail.com>:
>
>> Please see http://hbase.apache.org/book.html#arch.region.splits
>>
>> On Thu, Oct 2, 2014 at 12:46 PM, Serega Sheypak <serega.sheypak@gmail.com
>> >
>> wrote:
>>
>> > Hi,  is that true that I can set split policy per cluster or per table?
>> > How can I get current split policy for cluster/table?
>> >
>>
>
>

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