Optimize read performance for the following scenarios
- Read small files completely
Files that are of size smaller than the read buffer size can be considered as small files. In case of such files it would be better to read the full file into the AbfsInputStream buffer.
- Read last block if the read is for footer
If the read is for the last 8 bytes, read the full file.
This will optimize reads for parquet files. Parquet file format
Both these optimizations will be present under configs as follows