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:
parent
19e46e358e
commit
97ce72a97e
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue