hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r654267 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/ipc/HbaseRPC.java
Date Wed, 07 May 2008 20:39:15 GMT
Author: jimk
Date: Wed May  7 13:39:14 2008
New Revision: 654267

URL: http://svn.apache.org/viewvc?rev=654267&view=rev
Log:
HBASE-453 undeclared throwable exception from HTable.get

Instead of wrapping UndeclaredThrowableException in a new IOException, wrap UndeclaredThrowableException.getCause

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/ipc/HbaseRPC.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/ipc/HbaseRPC.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/ipc/HbaseRPC.java?rev=654267&r1=654266&r2=654267&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/ipc/HbaseRPC.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/ipc/HbaseRPC.java Wed May  7 13:39:14
2008
@@ -219,7 +219,7 @@
           e = (IOException) t;
         } else {
           e = new IOException("error during RPC call");
-          e.initCause(t);
+          e.initCause(t.getCause());
         }
         throw e;
       }



Mime
View raw message