Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Fixing bug where large index files weren't being read fully #489

Merged
merged 1 commit into from
Aug 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ object FileUtils {
val fileInputStream = fileSystem.open(path)
val len = fileSystem.getFileStatus(path).getLen
val bytes = new Array[Byte](len.toInt)
fileInputStream.read(bytes)
fileInputStream.readFully(bytes)
fileInputStream.close()
bytes
}
Expand Down