Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B80EC7EBF for ; Thu, 8 Sep 2011 12:16:45 +0000 (UTC) Received: (qmail 80073 invoked by uid 500); 8 Sep 2011 12:16:44 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 77957 invoked by uid 500); 8 Sep 2011 12:16:36 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 77904 invoked by uid 99); 8 Sep 2011 12:16:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2011 12:16:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2011 12:16:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0E4B889925 for ; Thu, 8 Sep 2011 12:16:09 +0000 (UTC) Date: Thu, 8 Sep 2011 12:16:09 +0000 (UTC) From: "Uma Maheswara Rao G (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1448764178.2746.1315484169055.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2251) Namenode does not recognize incorrectly sized blocks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100254#comment-13100254 ] Uma Maheswara Rao G commented on HDFS-2251: ------------------------------------------- Hi Brian, In which version of Hadoop you faced this? Did you observe any recovery (or) write failures? Thanks Uma > Namenode does not recognize incorrectly sized blocks > ---------------------------------------------------- > > Key: HDFS-2251 > URL: https://issues.apache.org/jira/browse/HDFS-2251 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Brian Bockelman > > We had a lot of file system corruption resulting in incorrectly sized blocks (on disk, they're truncated to 192KB when they should be 64MB). > However, I cannot make Hadoop realize that these blocks are incorrectly sized. When I try to drain off the node, I get the following messages: > 2008-10-29 18:46:51,293 WARN org.apache.hadoop.fs.FSNamesystem: Inconsistent size for block blk_-4403534125663454855_9937 reported from 172.16.1.150:50010 current size is 67108864 reported size is 196608 > Here 172.16.1.150 is not the node which has the problematic block, but the destination of the file transfer. I propose that Hadoop should either: > a) Upon startup, make sure that all blocks are properly sized (pro: rather cheap check; con: doesn't catch any truncations which happen while on disk) > b) Upon detecting the incorrectly sized copy, Hadoop should ask the source of the block to perform a block verification. > Thanks, > Brian -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira