hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3101) cannot read empty file using webhdfs
Date Fri, 16 Mar 2012 01:22:37 GMT

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

Hudson commented on HDFS-3101:
------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1892 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1892/])
    HDFS-3101. Cannot read empty file using WebHDFS. (Revision 1301287)

     Result = ABORTED
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301287
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsFileSystemContract.java

                
> cannot read empty file using webhdfs
> ------------------------------------
>
>                 Key: HDFS-3101
>                 URL: https://issues.apache.org/jira/browse/HDFS-3101
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 0.23.1
>            Reporter: Zhanwei.Wang
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.24.0, 1.1.0, 0.23.2, 1.0.2, 0.23.3
>
>         Attachments: h3101_20120315.patch, h3101_20120315_branch-1.patch
>
>
> STEP:
> 1, create a new EMPTY file
> 2, read it using webhdfs.
> RESULT:
> expected: get a empty file
> I got: {"RemoteException":{"exception":"IOException","javaClassName":"java.io.IOException","message":"Offset=0
out of the range [0, 0); OPEN, path=/testFile"}}
> First of all, [0, 0) is not a valid range, and I think read a empty file should be OK.

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