You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2018/10/23 19:05:00 UTC

[jira] [Created] (HADOOP-15875) S3AInputStream.seek should throw EOFException if seeking past the end of file

Shixiong Zhu created HADOOP-15875:
-------------------------------------

             Summary: S3AInputStream.seek should throw EOFException if seeking past the end of file
                 Key: HADOOP-15875
                 URL: https://issues.apache.org/jira/browse/HADOOP-15875
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
            Reporter: Shixiong Zhu


I read the javadoc of `Seekable.seek` but it doesn't say what should be done when seeking past the end of file. Right now, DFSInputStream throws new EOFException, but S3AInputStream doesn't throw any error.

I think it's better to have consistent behavior in `seek.`



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org