Sorry, I found the reason. I forgot to restart the RegionServer...
> -----原始邮件----- > 发件人: "LEI Xiaofeng" <[email protected]> > 发送时间: 2014年8月13日 星期三 > 收件人: [email protected] > 抄送: > 主题: how to develop a cunstom splitpolicy for hbase table > > Hi, > I want to develop a custom SplitPolicy for my hbase table. But when I use my > policy to create a new table, I get this exception "Unable to load configured > region split policy...". > > I put the MyPolicy.jar in the lib directory of HBase and use following code > to assign it to the table. > > HTableDescriptor tblDes = new HTableDescriptor(tblName); > tblDes.setValue(HTableDescriptor.SPLIT_POLICY, > DSTSplitPolicy.class.getName()); > > Does anyone have any suggestion? > > > > Thanks, > Xiaofeng > >
