FAQ
DN should log a WARN, not an INFO when it detects a corruption during block transfer
------------------------------------------------------------------------------------

Key: HDFS-2349
URL: https://issues.apache.org/jira/browse/HDFS-2349
Project: Hadoop HDFS
Issue Type: Improvement
Components: data-node
Affects Versions: 0.20.204.0
Reporter: Harsh J
Assignee: Harsh J
Priority: Trivial
Fix For: 0.24.0


Currently, in DataNode.java, we have:

{code}

LOG.info("Can't replicate block " + block
+ " because on-disk length " + onDiskLength
+ " is shorter than NameNode recorded length " + block.getNumBytes());

{code}

This log is better off as a WARN as it indicates (and also reports) a corruption.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedSep 19, '11 at 7:06p
activeSep 19, '11 at 7:06p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Harsh J (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase