hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8599) Non empty response from FileSystem.getFileBlockLocations when asking for data beyond the end of file
Date Tue, 17 Jul 2012 11:42:35 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416100#comment-13416100
] 

Hudson commented on HADOOP-8599:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #1106 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1106/])
    HADOOP-8599. Non empty response from FileSystem.getFileBlockLocations when asking for
data beyond the end of file. Contributed by Andrey Klochkov. (Revision 1362295)

     Result = FAILURE
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1362295
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestGetFileBlockLocations.java

                
> Non empty response from FileSystem.getFileBlockLocations when asking for data beyond
the end of file 
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8599
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8599
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.3, 0.23.1, 2.0.0-alpha
>            Reporter: Andrey Klochkov
>            Assignee: Andrey Klochkov
>             Fix For: 0.23.3, 3.0.0, 2.2.0-alpha
>
>         Attachments: HADOOP-8859-branch-0.23.patch
>
>
> When FileSystem.getFileBlockLocations(file,start,len) is called with "start" argument
equal to the file size, the response is not empty. There is a test TestGetFileBlockLocations.testGetFileBlockLocations2
which uses randomly generated "start" and "len" arguments when calling FileSystem.getFileBlockLocations
and the test fails randomly (when the generated start value equals to the file size).

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