hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1307275 - /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java
Date Fri, 30 Mar 2012 05:32:59 GMT
Author: stack
Date: Fri Mar 30 05:32:59 2012
New Revision: 1307275

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

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

Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java?rev=1307275&r1=1307274&r2=1307275&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java (original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java Fri Mar
30 05:32:59 2012
@@ -371,11 +371,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;
       }
     }
 



Mime
View raw message