hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2673) While Namenode processing the blocksBeingWrittenReport, it will log incorrect number blocks count
Date Tue, 13 Dec 2011 19:32:30 GMT

     [ https://issues.apache.org/jira/browse/HDFS-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Uma Maheswara Rao G updated HDFS-2673:
--------------------------------------

    Attachment: HDFS-2673.patch

Updated patch for 1.1.0 version
                
> While Namenode processing the blocksBeingWrittenReport, it will log incorrect number
blocks count
> -------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-2673
>                 URL: https://issues.apache.org/jira/browse/HDFS-2673
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 1.0.0
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>            Priority: Trivial
>         Attachments: HDFS-2673.patch
>
>
> In NameNode#blocksBeingWrittenReport
>  we have the following stateChangeLog
> {code}
> stateChangeLog.info("*BLOCK* NameNode.blocksBeingWrittenReport: "
>            +"from "+nodeReg.getName()+" "+blocks.length +" blocks");
> {code}
> here blocks is long array. Every consecutive 3 elements represents a block ( length,
blockid, genstamp).
> So, here in log message, blocks.length should be blocks.length/3.
>  

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