HBASE-4801 alter_status shell prints sensible message at completion
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1202914 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
99724ae460
commit
e84b62cbb0
|
@ -433,6 +433,7 @@ Release 0.92.0 - Unreleased
|
||||||
HBASE-4792 SplitRegionHandler doesn't care if it deletes the znode or not,
|
HBASE-4792 SplitRegionHandler doesn't care if it deletes the znode or not,
|
||||||
leaves the parent region stuck offline
|
leaves the parent region stuck offline
|
||||||
HBASE-4793 HBase shell still using deprecated methods removed in HBASE-4436
|
HBASE-4793 HBase shell still using deprecated methods removed in HBASE-4436
|
||||||
|
HBASE-4801 alter_status shell prints sensible message at completion
|
||||||
|
|
||||||
TESTS
|
TESTS
|
||||||
HBASE-4450 test for number of blocks read: to serve as baseline for expected
|
HBASE-4450 test for number of blocks read: to serve as baseline for expected
|
||||||
|
|
|
@ -293,7 +293,11 @@ module Hbase
|
||||||
status = Pair.new()
|
status = Pair.new()
|
||||||
begin
|
begin
|
||||||
status = @admin.getAlterStatus(table_name.to_java_bytes)
|
status = @admin.getAlterStatus(table_name.to_java_bytes)
|
||||||
puts "#{status.getSecond() - status.getFirst()}/#{status.getSecond()} regions updated."
|
if status.getSecond() != 0
|
||||||
|
puts "#{status.getSecond() - status.getFirst()}/#{status.getSecond()} regions updated."
|
||||||
|
else
|
||||||
|
puts "All regions updated."
|
||||||
|
end
|
||||||
sleep 1
|
sleep 1
|
||||||
end while status != nil && status.getFirst() != 0
|
end while status != nil && status.getFirst() != 0
|
||||||
puts "Done."
|
puts "Done."
|
||||||
|
|
Loading…
Reference in New Issue