Ok, I got it. The other consideration is that it's better to push up devault values to configuration. It makes configuration evident. Thank you for your help!
2014-10-03 17:37 GMT+04:00 Jean-Marc Spaggiari <[email protected]>: > Hi Serega, > > Defaults values for the split is in the code (as you can see in the other > link I sent). So it might be a duplicate to define it again with the same > value in the property file. Doable still, but I don't think it's a best > practice. > > JM > > 2014-10-03 8:55 GMT-04:00 Serega Sheypak <[email protected]>: > > > I've read that in CDH release notes, but I did expect to get explicit > value > > somewhere in configuration file. > > > > 2014-10-03 16:26 GMT+04:00 Jean-Marc Spaggiari <[email protected] > >: > > > > > Hi Serega, > > > > > > You don't see it because it's not modified. It just uses the default > > value. > > > > > > CDH 4.6 is hbase-0.94.15. So you have > > > > > > > > > org.apache.hadoop.hbase.regionserver.IncreasingToUpperBoundRegionSplitPolicy > > > execpt if you have overwritten this property in your table. > > > > > > > > > > > > http://grepcode.com/file/repo1.maven.org/maven2/org.apache.hbase/hbase/0.94.15/org/apache/hadoop/hbase/regionserver/RegionSplitPolicy.java#39 > > > > > > JM > > > > > > > > > 2014-10-03 6:12 GMT-04:00 Serega Sheypak <[email protected]>: > > > > > > > I'm on Cloudera CDH 4.6 > > > > There is no such property, I tried to find it in > > > > - Cloudera Manager UI > > > > - in RegionServer ui, there is a link to get configuration > > > > - in Cloudera Manager UI -> RegionServer role -> processes -> > > > > configuration. Here Cloudera Managers shows configs used by running > > > > processes. > > > > > > > > no luck... > > > > > > > > 2014-10-03 13:51 GMT+04:00 Ted Yu <[email protected]>: > > > > > > > > > Have you tried the 'describe' command ? > > > > > > > > > > In case SPLIT_POLICY property isn't set, global config > > > > > from hbase-default.xml would be effective. > > > > > > > > > > Cheers > > > > > > > > > > On Fri, Oct 3, 2014 at 1:53 AM, Serega Sheypak < > > > [email protected] > > > > > > > > > > wrote: > > > > > > > > > > > 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 <[email protected]>: > > > > > > > > > > > > > Please see > http://hbase.apache.org/book.html#arch.region.splits > > > > > > > > > > > > > > On Thu, Oct 2, 2014 at 12:46 PM, Serega Sheypak < > > > > > > [email protected]> > > > > > > > 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? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
