[
https://issues.apache.org/jira/browse/HBASE-23905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060631#comment-17060631
]
Mohammad Arshad commented on HBASE-23905:
-----------------------------------------
Namespace can not be associated with any rsgroup, only servers and tables are
associated with a rsgroup.
Command move_namespaces_rsgroup 'default',['namespace'] means move all tables
from namespace 'namespace' to rsgroup 'default'. Its moving tables it is not
moving namspace.
As you have set 'hbase.rsgroup.name' => 'r1' while creating namespace
'namespace', any table created in this namespace will be part of part rsgroup
'r1' by default.
If you don't want new tables in 'namespace' be part of rsgroup r1 then unset
the property from with command
alter_namespace 'namespace',
{METHOD => 'unset', NAME=>'hbase.rsgroup.name'}
> move_namespaces_rsgroup is not moving namespace into desired rsgroup
> --------------------------------------------------------------------
>
> Key: HBASE-23905
> URL: https://issues.apache.org/jira/browse/HBASE-23905
> Project: HBase
> Issue Type: Bug
> Components: rsgroup
> Affects Versions: 2.2.3
> Reporter: Saurav Mehta
> Assignee: Mohammad Arshad
> Priority: Major
>
> When creating a namespace and specifying a rs group in hbase.rsgroup.name,
> the namespace gets associated with the mentioned rs group. However later, the
> namespace does not move to another rs group when using
> "move_namespace_rsgroup".
>
> Steps to reproduce the issue:
> # create a rs group 'r1' and add a region server in it.
> # *create_namespace 'namespace',\{METHOD => 'set', 'hbase.rsgroup.name' =>
> 'r1'}*
> # *describe_namespace 'namespace'*
> # *move_namespaces_rsgroup 'default',['namespace']*
> # *describe_namespace 'namespace'*
> Before moving the namespace into another rs group, it will show rsgroup r1
> but even after the step 4, it still shows same description of the namespace.
> This bug is not allowing me to remove a rs group because it keeps on telling
> "r1 cannot be deleted as namespace 'namespace' is still associated with the
> rs group 'r1' ".
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)