I am trying to achieve multi-tenancy in HBase. I want to create group of RegionServers to each namespace I create.
I referred HBase-6721 JIRA ticket. I added below property in hbase-site.xml
<property>
<name>hbase.coprocessor.master.classes</name>
<value>org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint</value>
</property>
<property>
<name>hbase.master.loadbalancer.class</name>
<value>org.apache.hadoop.hbase.rsgroup.RSGroupBasedLoadBalancer</value>
</property>
But I get class not found exception-:
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class org.apache.hadoop.hbase.rsgroup.RSGroupBasedLoadBalancer not found
Is there any jar file which needs to get included for this?
Also, If I do not add the above property and just run below command on the hbase shell,
hbase(main):001:0> add_rsgroup 'group'
NoMethodError: undefined method `add_rsgroup' for #<Object:0x57ddd45b>
Can someone tell me what am I missing here? I am using HBase verion 1.2.6. Is this option of multi-tenancy not available in HBase 1.2.x? Thanks in advance.