hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lohit Vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-4697) KFS::getBlockLocations() fails with files having multiple blocks
Date Thu, 20 Nov 2008 20:32:44 GMT

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

Lohit Vijayarenu updated HADOOP-4697:
-------------------------------------

    Affects Version/s:     (was: 0.17.0)
                       0.18.0
         Hadoop Flags: [Reviewed]
               Status: Patch Available  (was: Open)

+1. Looks good.

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


Mime
View raw message