Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

multi-tenancy HBase - grouping of Region Servers

multi-tenancy HBase - grouping of Region Servers

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.

2 REPLIES 2
Highlighted

Re: multi-tenancy HBase - grouping of Region Servers

Contributor

Hi, i wanna use hbase rsgroups too but it seems that it is not enough mature..?

I am using hbase 1.1.2 and i tested the rsgroup properties and it works.

Did you still have the same problem, yet?

BR,

Helmi Khalifa

Highlighted

Re: multi-tenancy HBase - grouping of Region Servers

Hi,

This feature is not available in hbase 1.2.6. You can check 'HBase-6721 JIRA' this ticket for more updates.

Don't have an account?
Coming from Hortonworks? Activate your account here