You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2012/03/30 07:32:40 UTC

svn commit: r1307274 - /hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java

Author: stack
Date: Fri Mar 30 05:32:40 2012
New Revision: 1307274

URL: http://svn.apache.org/viewvc?rev=1307274&view=rev
Log:
HBASE-5673 The OOM problem of IPC client call cause all handle block; REAPPLY; V2 OF PATCH

Modified:
    hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java

Modified: hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java?rev=1307274&r1=1307273&r2=1307274&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java (original)
+++ hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java Fri Mar 30 05:32:40 2012
@@ -349,11 +349,12 @@ public class HBaseClient {
 
         // start the receiver thread after the socket connection has been set up
         start();
-      } catch (IOException e) {
-        markClosed(e);
+      } catch (Throwable e) {
+        IOException exception = new IOException(e);
+        markClosed(exception);
         close();
 
-        throw e;
+        throw exception;
       }
     }