HADOOP-10081. Client.setupIOStreams can leak socket resources on exception or error. Contributed by Tsuyoshi OZAWA
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1548179 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9ea61e4415
commit
419783d992
|
@ -529,6 +529,9 @@ Release 2.3.0 - UNRELEASED
|
||||||
HDFS-5560. Trash configuration log statements prints incorrect units.
|
HDFS-5560. Trash configuration log statements prints incorrect units.
|
||||||
(Josh Elser via Andrew Wang)
|
(Josh Elser via Andrew Wang)
|
||||||
|
|
||||||
|
HADOOP-10081. Client.setupIOStreams can leak socket resources on exception
|
||||||
|
or error (Tsuyoshi OZAWA via jlowe)
|
||||||
|
|
||||||
Release 2.2.0 - 2013-10-13
|
Release 2.2.0 - 2013-10-13
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -1158,6 +1158,7 @@ public class Client {
|
||||||
// cleanup calls
|
// cleanup calls
|
||||||
cleanupCalls();
|
cleanupCalls();
|
||||||
}
|
}
|
||||||
|
closeConnection();
|
||||||
if (LOG.isDebugEnabled())
|
if (LOG.isDebugEnabled())
|
||||||
LOG.debug(getName() + ": closed");
|
LOG.debug(getName() + ": closed");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue