HBASE-5673 The OOM problem of IPC client call cause all handle block; REAPPLY; V2 OF PATCH

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-03-30 05:33:19 +00:00
parent 81482cebb8
commit 277e246110
1 changed files with 4 additions and 3 deletions

View File

@ -373,11 +373,12 @@ public class HBaseClient {
// start the receiver thread after the socket connection has been set up // start the receiver thread after the socket connection has been set up
start(); start();
} catch (IOException e) { } catch (Throwable e) {
markClosed(e); IOException exception = new IOException(e);
markClosed(exception);
close(); close();
throw e; throw exception;
} }
} }