Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 53084 invoked from network); 25 Nov 2008 10:36:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Nov 2008 10:36:42 -0000 Received: (qmail 10256 invoked by uid 500); 25 Nov 2008 10:36:49 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 9212 invoked by uid 500); 25 Nov 2008 10:36:45 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 9191 invoked by uid 99); 25 Nov 2008 10:36:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 02:36:45 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2008 10:35:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7983B234C296 for ; Tue, 25 Nov 2008 02:35:44 -0800 (PST) Message-ID: <920653657.1227609344496.JavaMail.jira@brutus> Date: Tue, 25 Nov 2008 02:35:44 -0800 (PST) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4697) KFS::getBlockLocations() fails with files having multiple blocks In-Reply-To: <1446207609.1227210284317.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-4697: ---------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) I just committed this. Thanks, Sriram > KFS::getBlockLocations() fails with files having multiple blocks > ---------------------------------------------------------------- > > Key: HADOOP-4697 > URL: https://issues.apache.org/jira/browse/HADOOP-4697 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Affects Versions: 0.18.0 > Environment: Hadoop on KFS > Reporter: Lohit Vijayarenu > Assignee: Sriram Rao > Fix For: 0.19.1 > > Attachments: patch.4697 > > > getBlockLocations() on KFS fail with the following stack trace for large files (with multiple blocks). > {noformat} > java.lang.IllegalArgumentException: Offset 67108864 is outside of file > (0..67108863) > at > org.apache.hadoop.mapred.FileInputFormat.getBlockIndex(FileInputFormat.java:336) > at > org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:248) > at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:742) > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1026) > at org.apache.hadoop.examples.WordCount.run(WordCount.java:149) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at org.apache.hadoop.examples.WordCount.main(WordCount.java:155) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) > at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:141) > at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:54) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > {noformat} > blkStart was not updated properly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.