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/trunk@1363950 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aaron Myers 2012-07-20 20:50:30 +00:00
parent decd9e1c74
commit 80e2b4117b
2 changed files with 4 additions and 1 deletions

View File

@ -268,6 +268,9 @@ Branch-2 ( Unreleased changes )
serializer or deserializer isn't available serializer or deserializer isn't available
(Madhukara Phatak via harsh) (Madhukara Phatak via harsh)
HADOOP-8609. IPC server logs a useless message when shutting down socket.
(Jon Zuanich via atm)
BUG FIXES BUG FIXES
HADOOP-8372. NetUtils.normalizeHostName() incorrectly handles hostname HADOOP-8372. NetUtils.normalizeHostName() incorrectly handles hostname

View File

@ -1643,7 +1643,7 @@ private synchronized void close() throws IOException {
if (!channel.isOpen()) if (!channel.isOpen())
return; return;
try {socket.shutdownOutput();} catch(Exception e) { try {socket.shutdownOutput();} catch(Exception e) {
LOG.warn("Ignoring socket shutdown exception"); LOG.debug("Ignoring socket shutdown exception", e);
} }
if (channel.isOpen()) { if (channel.isOpen()) {
try {channel.close();} catch(Exception e) {} try {channel.close();} catch(Exception e) {}