hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LEI Xiaofeng" <le...@ihep.ac.cn>
Subject how to develop a cunstom splitpolicy for hbase table
Date Wed, 13 Aug 2014 10:50:20 GMT
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