Author: stack
Date: Fri Mar 30 16:34:39 2012
New Revision: 1307517
URL: http://svn.apache.org/viewvc?rev=1307517&view=rev
Log:
HBASE-5673 The OOM problem of IPC client call cause all handle block; REVERT OF
V2, A SECOND REVERT
Modified:
hbase/branches/0.90/CHANGES.txt
hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java
Modified: hbase/branches/0.90/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hbase/branches/0.90/CHANGES.txt?rev=1307517&r1=1307516&r2=1307517&view=diff
==============================================================================
--- hbase/branches/0.90/CHANGES.txt (original)
+++ hbase/branches/0.90/CHANGES.txt Fri Mar 30 16:34:39 2012
@@ -12,7 +12,6 @@ Release 0.90.7 - Unreleased
HBASE-5615 The master never does balance because of balancing the parent
region (Xufeng)
HBASE-5637 Fix failing 0.90 TestHMsg testcase introduced by HBASE-5563
HBASE-5638 Backport HBASE-5633: NPE reading ZK config in HBase (Matteo
Bertozzi)
- HBASE-5673 The OOM problem of IPC client call cause all handle block
(Xufeng)
IMPROVEMENT
HBASE-5588 Deprecate/remove AssignmentManager#clearRegionFromTransition
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=1307517&r1=1307516&r2=1307517&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 16:34:39 2012
@@ -349,12 +349,11 @@ public class HBaseClient {
// start the receiver thread after the socket connection has been set
up
start();
- } catch (Throwable e) {
- IOException exception = new IOException(e);
- markClosed(exception);
+ } catch (IOException e) {
+ markClosed(e);
close();
- throw exception;
+ throw e;
}
}