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();
} catch (IOException e) {
markClosed(e);
} catch (Throwable e) {
IOException exception = new IOException(e);
markClosed(exception);
close();
throw e;
throw exception;
}
}