Xiaowei Zhu created HDFS-12013:
----------------------------------
Summary: libhdfs++: read with offset at EOF should return 0 bytes
instead of error
Key: HDFS-12013
URL: https://issues.apache.org/jira/browse/HDFS-12013
Project: Hadoop HDFS
Issue Type: Sub-task
Reporter: Xiaowei Zhu
Assignee: Xiaowei Zhu
Priority: Critical
The current behavior is when you read from offset == file_length, it will throw
error:
"AsyncPreadSome: trying to begin a read past the EOF"
But read with offset at EOF should just return 0 bytes. The above error should
only be thrown when offset > file_length.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]