[ https://issues.apache.org/jira/browse/HDFS-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230614#comment-13230614 ]
Hadoop QA commented on HDFS-3101: --------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12518520/h3101_20120315.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 6 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests: org.apache.hadoop.cli.TestHDFSCLI +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2019//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2019//console This message is automatically generated. > 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 > Attachments: h3101_20120315.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