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] [Created] (HDFS-10254) DfsClient undervalidates args for PositionedReadable operations
Date Sun, 03 Apr 2016 18:43:25 GMT
Steve Loughran created HDFS-10254:
-------------------------------------

             Summary: 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)

Mime
View raw message