hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guanghao Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19336) Improve rsgroup to allow assign all tables within a specified namespace by only writing namespace
Date Fri, 01 Dec 2017 09:40:00 GMT

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

Guanghao Zhang commented on HBASE-19336:
----------------------------------------

bq. I have resolved all rubocop result without fixing the ruby-lint, so make another patch?
Thanks. The ruby-lint can be ignored now.

bq. If some tables of the specified namespace already exist in the target group, the command
will fails. Should we exclude the tables that already exist in the target group?
I already saw this comment but don't see response...  Ping [~andrewcheng] Any more concerns?
If no objections, I will commit this after the rubocop fix.

> 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-V3.patch, HBASE-19336-master-V4.patch,
HBASE-19336-master-V4.patch, HBASE-19336-master-V4.patch, HBASE-19336-master-V5.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)

Mime
View raw message