Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Bug fix to Azure Filesystem related to
HADOOP-14535
Description
On certain conditions, BlockBlobInputStream can throw IndexOutOfBoundsException. Following is an example
length:297898, offset:4194304, buf.len:4492202, writePos:4194304 :
In this case, MemoryOutputStream::capacity() would end up returning negative value and can cause IndexOutOfBoundsException
It should be return buffer.length - offset; to determine current capacity.
Attachments
Attachments
Issue Links
- is depended upon by
-
HADOOP-14535 wasb: implement high-performance random access and seek of block blobs
- Resolved
- is related to
-
HADOOP-14552 Über-jira: WASB client phase II: performance and testing
- Resolved