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:
parent
decd9e1c74
commit
80e2b4117b
@ -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
|
||||||
|
@ -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) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user