[ https://issues.apache.org/jira/browse/HBASE-22765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Hu updated HBASE-22765: ----------------------------- Description: We add move_server and move_table command in shell internally to fix problems like restarting the regionserver etc and find it is very useful, so plan to port to branch-2 & branch-1 {code} hbase(main):001:0> move_server ERROR: wrong number of arguments (0 for 1) Here is some help for this command: Move all regions of the source server to a given target server, or randomly to other servers if no target server specified NOTE: A server name is its host, port plus startcode. For example: host187.example.com,60020,1289493121758 Examples: hbase> move_server 'SOURCE_SEREVR', 'TARGET_SERVER' hbase> move_server 'SOURCE_SERVER' hbase(main):002:0> move_table ERROR: wrong number of arguments (0 for 1) Here is some help for this command: Move all regions of the table to a regionserver. All regions will be moved to the given regionserver if the 'SERVER_NAME' is specified, or to a random regionserver if 'SERVER_NAME' is absent NOTE: A server name is its host, port plus startcode. For example: host187.example.com,60020,1289493121758 Examples: hbase> move_table 'TABLENAME', 'SERVER_NAME' hbase> move_table 'TABLENAME' {code} was:We add move_server and move_table command in shell internally to fix problems like restarting the regionserver etc and find it is very useful, so backport it > add move server & move table command in shell > ---------------------------------------------- > > Key: HBASE-22765 > URL: https://issues.apache.org/jira/browse/HBASE-22765 > Project: HBase > Issue Type: Improvement > Reporter: Junhong Xu > Assignee: Junhong Xu > Priority: Major > > We add move_server and move_table command in shell internally to fix problems > like restarting the regionserver etc and find it is very useful, so plan to > port to branch-2 & branch-1 > {code} > hbase(main):001:0> move_server > ERROR: wrong number of arguments (0 for 1) > Here is some help for this command: > Move all regions of the source server to a given target server, or randomly to > other servers if no target server specified > NOTE: > A server name is its host, port plus startcode. For example: > host187.example.com,60020,1289493121758 > Examples: > hbase> move_server 'SOURCE_SEREVR', 'TARGET_SERVER' > hbase> move_server 'SOURCE_SERVER' > hbase(main):002:0> move_table > ERROR: wrong number of arguments (0 for 1) > Here is some help for this command: > Move all regions of the table to a regionserver. All regions will be moved to > the > given regionserver if the 'SERVER_NAME' is specified, or to a random > regionserver if > 'SERVER_NAME' is absent > NOTE: > A server name is its host, port plus startcode. For example: > host187.example.com,60020,1289493121758 > Examples: > hbase> move_table 'TABLENAME', 'SERVER_NAME' > hbase> move_table 'TABLENAME' > {code} -- This message was sent by Atlassian JIRA (v7.6.14#76016)