[
https://issues.apache.org/jira/browse/HDFS-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated HDFS-3101:
-----------------------------------
Fix Version/s: (was: 2.0.0-alpha)
> 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: webhdfs
> Affects Versions: 0.23.1
> Reporter: Zhanwei Wang
> Assignee: Tsz Wo Nicholas Sze
> Fix For: 1.0.2, 0.23.2
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)