HDFS-2071. Use of isConnected() in DataXceiver is invalid. Contributed by Kihwal Lee.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1136205 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7c0c44de2
commit
6a3963cc8b
|
@ -1218,6 +1218,9 @@ Release 0.22.0 - Unreleased
|
|||
|
||||
HDFS-988. saveNamespace race can corrupt the edits log. (eli)
|
||||
|
||||
HDFS-2071. Use of isConnected() in DataXceiver is invalid. (Kihwal Lee
|
||||
via todd)
|
||||
|
||||
Release 0.21.1 - Unreleased
|
||||
HDFS-1466. TestFcHdfsSymlink relies on /tmp/test not existing. (eli)
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ class DataXceiver extends Receiver implements Runnable, FSConstants {
|
|||
opStartTime = now();
|
||||
processOp(op, in);
|
||||
++opsProcessed;
|
||||
} while (s.isConnected() && socketKeepaliveTimeout > 0);
|
||||
} while (!s.isClosed() && socketKeepaliveTimeout > 0);
|
||||
} catch (Throwable t) {
|
||||
LOG.error(datanode.getMachineName() + ":DataXceiver, at " +
|
||||
s.toString(), t);
|
||||
|
|
Loading…
Reference in New Issue