Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 14868 invoked from network); 17 Jul 2010 00:59:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Jul 2010 00:59:47 -0000 Received: (qmail 89390 invoked by uid 500); 17 Jul 2010 00:59:47 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 89300 invoked by uid 500); 17 Jul 2010 00:59:46 -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 89292 invoked by uid 99); 17 Jul 2010 00:59:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jul 2010 00:59:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jul 2010 00:59:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6H0po7a011056 for ; Sat, 17 Jul 2010 00:51:52 GMT Message-ID: <8416248.433061279327910364.JavaMail.jira@thor> Date: Fri, 16 Jul 2010 20:51:50 -0400 (EDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (HDFS-1085) hftp read failing silently In-Reply-To: <1490260708.28941270594293589.JavaMail.jira@brutus.apache.org> 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-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HDFS-1085: ----------------------------------------- Attachment: h1085_20100716d.patch h1085_20100716d.patch: for trunk. > hftp read failing silently > --------------------------- > > Key: HDFS-1085 > URL: https://issues.apache.org/jira/browse/HDFS-1085 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node > Reporter: Koji Noguchi > Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.22.0 > > Attachments: h1085_20100713.patch, h1085_20100716b_y0.20.1xx.patch, h1085_20100716b_y0.20.1xx_with_test.patch, h1085_20100716c.patch, h1085_20100716c_y0.20.1xx.patch, h1085_20100716d.patch, h1085_20100716d_y0.20.1xx.patch, h1085_20100716d_y0.20.1xx_test.patch > > > When performing a massive distcp through hftp, we saw many tasks fail with > {quote} > 2010-04-06 17:56:43,005 INFO org.apache.hadoop.tools.DistCp: FAIL 2010/0/part-00032 : java.io.IOException: File size not matched: copied 193855488 bytes (184.9m) to tmpfile (=hdfs://omehost.com:8020/somepath/part-00032) > but expected 1710327403 bytes (1.6g) from hftp://someotherhost/somepath/part-00032 > at org.apache.hadoop.tools.DistCp$CopyFilesMapper.copy(DistCp.java:435) > at org.apache.hadoop.tools.DistCp$CopyFilesMapper.map(DistCp.java:543) > at org.apache.hadoop.tools.DistCp$CopyFilesMapper.map(DistCp.java:310) > at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50) > at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) > at org.apache.hadoop.mapred.Child.main(Child.java:159) > {quote} > This means that read itself didn't fail but the resulted file was somehow smaller. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.