HADOOP-6833. IPC leaks call parameters when exceptions thrown. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@989999 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2010-08-27 02:53:20 +00:00
parent 19e46e358e
commit 97ce72a97e
2 changed files with 4 additions and 0 deletions

View File

@ -214,6 +214,9 @@ Trunk (unreleased changes)
HADOOP-6925. BZip2Codec incorrectly implements read().
(Todd Lipcon via Eli Collins)
HADOOP-6833. IPC leaks call parameters when exceptions thrown.
(Todd Lipcon via Eli Collins)
Release 0.21.0 - Unreleased
INCOMPATIBLE CHANGES

View File

@ -765,6 +765,7 @@ public class Client {
} else if (state == Status.ERROR.state) {
call.setException(new RemoteException(WritableUtils.readString(in),
WritableUtils.readString(in)));
calls.remove(id);
} else if (state == Status.FATAL.state) {
// Close the connection
markClosed(new RemoteException(WritableUtils.readString(in),