hi stack, In the hbase/client/HBaseAdmin.java : https://goo.gl/hojSM3 <https://goo.gl/hojSM3>
Future<Void> splitRegionAsync(RegionInfo hri, byte[] splitPoint) throws IOException { TableName tableName = hri.getTable(); if (hri.getStartKey() != null && splitPoint != null && Bytes.compareTo(hri.getStartKey(), splitPoint) == 0) { throw new IOException("should not give a splitkey which equals to startkey!"); } ... ... Thanks, Kevin Stack <st...@duboce.net> 於 2019年3月27日 週三 下午11:07寫道: > That sounds right Kevin. Mind adding pointer to where in the code you are > referring to? > Thanks, > S > > On Tue, Mar 26, 2019 at 1:47 PM kevin su <pings...@gmail.com> wrote: > > > Hi Users, > > > > I found that when we start to split region, used splitRegionAsync in > > HbaseAdmin. > > it only check whether the splitPoint is startkey or not. > > > > should we also check splitPoint is endkey ? > > > > > > Thanks. > > > > Kevin > > >