esteban commented on a change in pull request #1138: HBASE-22827 Expose 
multi-region merge in shell and Admin API
URL: https://github.com/apache/hbase/pull/1138#discussion_r376638630
 
 

 ##########
 File path: hbase-shell/src/main/ruby/shell/commands/merge_region.rb
 ##########
 @@ -33,16 +33,18 @@ def help
 
 Examples:
 
-  hbase> merge_region 'FULL_REGIONNAME', 'FULL_REGIONNAME'
-  hbase> merge_region 'FULL_REGIONNAME', 'FULL_REGIONNAME', true
+  hbase> merge_region ['FULL_REGIONNAME', 'FULL_REGIONNAME']
+  hbase> merge_region ['FULL_REGIONNAME', 'FULL_REGIONNAME', 
'FULL_REGIONNAME', ...]
+  hbase> merge_region ['FULL_REGIONNAME', 'FULL_REGIONNAME', 
'FULL_REGIONNAME', ...], true
 
-  hbase> merge_region 'ENCODED_REGIONNAME', 'ENCODED_REGIONNAME'
-  hbase> merge_region 'ENCODED_REGIONNAME', 'ENCODED_REGIONNAME', true
+  hbase> merge_region ['ENCODED_REGIONNAME', 'ENCODED_REGIONNAME']
+  hbase> merge_region ['ENCODED_REGIONNAME', 'ENCODED_REGIONNAME', 
'ENCODED_REGIONNAME', ...]
+  hbase> merge_region ['ENCODED_REGIONNAME', 'ENCODED_REGIONNAME', 
'ENCODED_REGIONNAME', ...], true
 
 Review comment:
   As my previous comment, if we keep support of the syntax for adding only two 
regions and multiple regions we should keep both examples.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to