svn merge -c 1548179 FIXES: 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/branches/branch-2@1548181 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
92fc940ea8
commit
839d3fc19b
|
@ -238,6 +238,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