[
https://issues.apache.org/jira/browse/HDFS-10254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang reopened HDFS-10254:
--------------------------------
> DfsClient undervalidates args for PositionedReadable operations
> ---------------------------------------------------------------
>
> Key: HDFS-10254
> URL: https://issues.apache.org/jira/browse/HDFS-10254
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Affects Versions: 2.8.0
> Reporter: Steve Loughran
>
> HDFS should can do stricter checking of the inputs
> # raise an exception on negative offset of destination buffer
> # explicitly raise an EOF exception if the file position is negative
> Optionally: short-circuit read/readfully operations if the byte range is 0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]