HADOOP-8609. IPC server logs a useless message when shutting down socket. Contributed by Jon Zuanich.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1363951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aaron Myers 2012-07-20 20:52:31 +00:00
parent 5d110e145e
commit 91afa71cd1
2 changed files with 4 additions and 1 deletions

View File

@ -379,6 +379,9 @@ Release 2.0.0-alpha - 05-23-2012
serializer or deserializer isn't available
(Madhukara Phatak via harsh)
HADOOP-8609. IPC server logs a useless message when shutting down socket.
(Jon Zuanich via atm)
BUG FIXES
HADOOP-8199. Fix issues in start-all.sh and stop-all.sh (Devaraj K via umamahesh)

View File

@ -1643,7 +1643,7 @@ public abstract class Server {
if (!channel.isOpen())
return;
try {socket.shutdownOutput();} catch(Exception e) {
LOG.warn("Ignoring socket shutdown exception");
LOG.debug("Ignoring socket shutdown exception", e);
}
if (channel.isOpen()) {
try {channel.close();} catch(Exception e) {}