-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.9.0, 3.0.0-beta1
-
Component/s: fs/azure
-
Labels:None
-
Target Version/s:
-
Release Note:Bug fix to Azure Filesystem related to
HADOOP-14535
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.
- 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
-