hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2349) DN should log a WARN, not an INFO when it detects a corruption during block transfer
Date Wed, 12 Oct 2011 04:55:11 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125590#comment-13125590
] 

Hudson commented on HDFS-2349:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #1060 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1060/])
    HDFS-2349. Corruption detected during block transfers should log WARNs.

harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1182205
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java

                
> 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
>
>         Attachments: HDFS-2349.diff
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message