HBASE-10533 commands.rb is giving wrong error messages on exceptions-format correction(rajeshbabu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1587299 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
94875900c6
commit
95c4e5f22c
|
@ -95,7 +95,7 @@ module Shell
|
|||
# Get the special java exception which will be handled
|
||||
cause = e.cause
|
||||
if cause.kind_of?(org.apache.hadoop.hbase.TableNotFoundException) then
|
||||
str = java.lang.String.new("#{cause}")
|
||||
str = java.lang.String.new("#{cause}")
|
||||
raise "Unknown table #{str}!"
|
||||
end
|
||||
if cause.kind_of?(org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException) then
|
||||
|
|
Loading…
Reference in New Issue