You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ra...@apache.org on 2014/04/14 22:00:41 UTC

svn commit: r1587299 - /hbase/trunk/hbase-shell/src/main/ruby/shell/commands.rb

Author: rajeshbabu
Date: Mon Apr 14 20:00:40 2014
New Revision: 1587299

URL: http://svn.apache.org/r1587299
Log:
HBASE-10533 commands.rb is giving wrong error messages on exceptions-format correction(rajeshbabu)

Modified:
    hbase/trunk/hbase-shell/src/main/ruby/shell/commands.rb

Modified: hbase/trunk/hbase-shell/src/main/ruby/shell/commands.rb
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-shell/src/main/ruby/shell/commands.rb?rev=1587299&r1=1587298&r2=1587299&view=diff
==============================================================================
--- hbase/trunk/hbase-shell/src/main/ruby/shell/commands.rb (original)
+++ hbase/trunk/hbase-shell/src/main/ruby/shell/commands.rb Mon Apr 14 20:00:40 2014
@@ -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