Description
When creating reader using static method which includes checking for magic header, we currently read 4 bytes but the pointer is not correctly updated.
When inputstream reads less byte than expected, this will get stuck in the loop until the end of file. Or if inputstream returns -1, for EOF like S3AInpustream, read hangs in this loop.
Attachments
Issue Links
- relates to
-
CRUNCH-698 Avro DataFileReader creation can hang
- Resolved
- links to