hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LEI Xiaofeng" <le...@ihep.ac.cn>
Subject Re: how to develop a cunstom splitpolicy for hbase table
Date Wed, 13 Aug 2014 11:14:34 GMT
Sorry, I found the reason. I forgot to restart the RegionServer...


> -----原始邮件-----
> 发件人: "LEI Xiaofeng" <leixf@ihep.ac.cn>
> 发送时间: 2014年8月13日 星期三
> 收件人: user@hbase.apache.org
> 抄送: 
> 主题: 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
> 
> 


Mime
View raw message