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:
rajeshbabu 2014-04-14 20:00:40 +00:00
parent 94875900c6
commit 95c4e5f22c
1 changed files with 1 additions and 1 deletions

View File

@ -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