hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10254) DfsClient undervalidates args for PositionedReadable operations
Date Sat, 09 Apr 2016 21:03:25 GMT

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

Steve Loughran commented on HDFS-10254:
---------------------------------------

fixed as part of HADOOP-12994

> 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
>             Fix For: 2.8.0
>
>
> 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)

Mime
View raw message