Unnecessary partial caching from positioned read

Description

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.

Environment

None

Activity

Show:

ramkrishna vasudevanAugust 18, 2017 at 5:58 AM

Thanks for raising this issue. I will review the PR here https://github.com/Alluxio/alluxio/pull/5902

maobaolongAugust 18, 2017 at 2:38 AM

Thank you for locate this issue, the workaround is worked for me. Look forward the PR to this issue.

Yupeng FuAugust 18, 2017 at 2:31 AM

Fixed

Details

Assignee

Reporter

Labels

[CHART] Date of First Response

Aug 18, 2017, 2:38 AM

Components

Affects versions

Priority

Created August 17, 2017 at 10:16 PM
Updated August 23, 2017 at 5:54 AM
Resolved August 23, 2017 at 5:54 AM