HDFS-9397. Fix typo for readChecksum() LOG.warn in BlockSender.java. (Contributed by Enrique Flores)

This commit is contained in:
Arpit Agarwal 2015-11-16 21:02:00 -08:00
parent fcd7888029
commit 007c6ce1af
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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;