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:
parent
5d110e145e
commit
91afa71cd1
|
@ -379,6 +379,9 @@ Release 2.0.0-alpha - 05-23-2012
|
||||||
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-8199. Fix issues in start-all.sh and stop-all.sh (Devaraj K via umamahesh)
|
HADOOP-8199. Fix issues in start-all.sh and stop-all.sh (Devaraj K via umamahesh)
|
||||||
|
|
|
@ -1643,7 +1643,7 @@ public abstract class Server {
|
||||||
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