HDFS-9397. Fix typo for readChecksum() LOG.warn in BlockSender.java. (Contributed by Enrique Flores)
This commit is contained in:
parent
fcd7888029
commit
007c6ce1af
|
@ -2314,6 +2314,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HDFS-9358. TestNodeCount#testNodeCount timed out.
|
HDFS-9358. TestNodeCount#testNodeCount timed out.
|
||||||
(Masatake Iwasaki via waltersu4549)
|
(Masatake Iwasaki via waltersu4549)
|
||||||
|
|
||||||
|
HDFS-9397. Fix typo for readChecksum() LOG.warn in BlockSender.java.
|
||||||
|
(Enrique Flores via Arpit Agarwal)
|
||||||
|
|
||||||
Release 2.7.3 - UNRELEASED
|
Release 2.7.3 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -644,7 +644,7 @@ class BlockSender implements java.io.Closeable {
|
||||||
try {
|
try {
|
||||||
checksumIn.readFully(buf, checksumOffset, checksumLen);
|
checksumIn.readFully(buf, checksumOffset, checksumLen);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.warn(" Could not read or failed to veirfy checksum for data"
|
LOG.warn(" Could not read or failed to verify checksum for data"
|
||||||
+ " at offset " + offset + " for block " + block, e);
|
+ " at offset " + offset + " for block " + block, e);
|
||||||
IOUtils.closeStream(checksumIn);
|
IOUtils.closeStream(checksumIn);
|
||||||
checksumIn = null;
|
checksumIn = null;
|
||||||
|
|
Loading…
Reference in New Issue