When partial caching is turned on, FileInStream incorrectly caches the entire block on positioned read, even if the block is already cached in the local worker. This affects the APIs that perform positioned read, including read with offset, readFully with offset, and seek.
The workaround is to turn off partial caching by setting alluxio.user.file.cache.partially.read.block to false.
When partial caching is turned on,
FileInStream
incorrectly caches the entire block on positioned read, even if the block is already cached in the local worker. This affects the APIs that perform positioned read, includingread with offset
,readFully with offset
, andseek
.The workaround is to turn off partial caching by setting
alluxio.user.file.cache.partially.read.block
to false.