You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analytics Accelerator Library for Amazon S3 Version
0.0.1, 0.0.2
AWS Region
us-east-1
Describe the running environment
Running in EC2 instance and mac.
What happened?
According to InputStream specification, when reader tries to read 0 bytes, read method should return 0 bytes read, independent of the object size.
See:
If len is zero, then no bytes are read and 0 is returned; otherwise, there is an attempt to read at least one byte. If no byte is available because the stream is at end of file, the value -1 is returned; otherwise, at least one byte is read and stored into b.
In S3SeekableInputStream for an 0-sized object implementation of the read method will return -1.
Analytics Accelerator Library for Amazon S3 Version
0.0.1, 0.0.2
AWS Region
us-east-1
Describe the running environment
Running in EC2 instance and mac.
What happened?
According to InputStream specification, when reader tries to read 0 bytes, read method should return 0 bytes read, independent of the object size.
See:
In S3SeekableInputStream for an 0-sized object implementation of the read method will return -1.
https://github.com/awslabs/analytics-accelerator-s3/blob/main/input-stream/src/main/java/software/amazon/s3/analyticsaccelerator/S3SeekableInputStream.java#L135-L153
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: