[
https://issues.apache.org/jira/browse/HBASE-19336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16264872#comment-16264872
]
Ted Yu commented on HBASE-19336:
--------------------------------
{code}
+ def move_namespaces(dest, *args)
+ tables = java.util.HashSet.new
{code}
Variable name should match what the command is moving.
{code}
+ servers = java.util.HashSet.new
+ tables = java.util.HashSet.new
{code}
Same with tables above.
{code}
+Reassign tables from one RegionServer group to another.
{code}
tables -> namespaces
> Improve rsgroup to allow assign all tables within a specified namespace by
> only writing namespace
> -------------------------------------------------------------------------------------------------
>
> Key: HBASE-19336
> URL: https://issues.apache.org/jira/browse/HBASE-19336
> Project: HBase
> Issue Type: Improvement
> Components: rsgroup
> Affects Versions: 2.0.0-alpha-4
> Reporter: xinxin fan
> Assignee: xinxin fan
> Attachments: HBASE-19336-master-V2.patch, HBASE-19336-master.patch
>
>
> Currently, use can only assign tables within a namespace from one group to
> another by writing all table names in move_tables_rsgroup command. Allowing
> to assign all tables within a specifed namespace by only wirting namespace
> name is useful.
> Usage as follows:
> {code:java}
> hbase(main):055:0> move_namespaces_rsgroup 'dest_rsgroup',['ns1']
> Took 2.2211 seconds
> {code}
> {code:java}
> hbase(main):051:0* move_servers_namespaces_rsgroup
> 'dest_rsgroup',['hbase39.lt.163.org:60020'],['ns1','ns2']
> Took 15.3710 seconds
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)