[ 
https://issues.apache.org/jira/browse/HBASE-22514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16852899#comment-16852899
 ] 

Yechao Chen commented on HBASE-22514:
-------------------------------------

We have a big data multi-tenancy  platform that manger many nodes resource like 
cpu ,memory,hdfs quotas...tables,namespaces,user

for hbase :

we use rsg for a user multi-tenancy , the platform  will call hbase client 
create a rsg for a user

usually a user with one rsg with some servers and one namespace.

 so will need use add rsg,move namespace to rsg,move rs to rsg...  

!image-2019-05-31-18-25-38-217.png!

 

hbase shell can execute those command.

i check the hbase shell

the code is :

@admin = org.apache.hadoop.hbase.rsgroup.RSGroupAdminClient.new(connection)

but the RSGroupAdminClient is not public (package default). 

and mark with @InterfaceAudience.Private,mybe we should make it public 

@InterfaceAudience.Public 

I don't know why mark it Private ,it's useful for administrator who not use 
hbase shell.

If i can't use RSGroupAdminClient, there is another way to call  rsg client ? 

thanks

> make RSGroupAdminClient public
> ------------------------------
>
>                 Key: HBASE-22514
>                 URL: https://issues.apache.org/jira/browse/HBASE-22514
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Yechao Chen
>            Assignee: Yechao Chen
>            Priority: Major
>         Attachments: HBASE-22514.master.001.patch, 
> image-2019-05-31-18-25-38-217.png
>
>
> The class RSGroupAdminClient is not public 
> we need to use java api  RSGroupAdminClient  to manager RSG 
> so  RSGroupAdminClient should be public
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to