virajjasani commented on a change in pull request #2241:
URL: https://github.com/apache/hbase/pull/2241#discussion_r469198506
##
File path: hbase-shell/src/main/ruby/shell/commands/unassign.rb
##
@@ -22,8 +22,10 @@ module Commands
class Unassign < Command
def help
<<-EOF
-Unassign a region. Unassign will close region in current location and then
-reopen it again. Pass 'true' to force the unassignment ('force' will clear
+Unassign a region. It could be executed only when region in expected
state(OPEN).
+In addition, you can use "unassigns" which supported by hbck2 to skip the
state check.
+See
https://github.com/apache/hbase-operator-tools/blob/master/hbase-hbck2/README.md
for more info.
Review comment:
And also, we can keep link in bracket like `(For more info on HBCK2:
https://github.com/apache/hbase-operator-tools/blob/master/hbase-hbck2/README.md)`
##
File path: hbase-shell/src/main/ruby/shell/commands/unassign.rb
##
@@ -22,8 +22,10 @@ module Commands
class Unassign < Command
def help
<<-EOF
-Unassign a region. Unassign will close region in current location and then
-reopen it again. Pass 'true' to force the unassignment ('force' will clear
+Unassign a region. It could be executed only when region in expected
state(OPEN).
+In addition, you can use "unassigns" which supported by hbck2 to skip the
state check.
+See
https://github.com/apache/hbase-operator-tools/blob/master/hbase-hbck2/README.md
for more info.
Review comment:
I think we can write this at the end similar to above `assign.rb` (above
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:
us...@infra.apache.org