Cache shows 0% after file is read using fuse client from NFS UFS #14282
Labels
area-fuse
Alluxio fuse integration
priority-medium
stale
The PR/Issue does not have recent activities and will be closed automatically
type-bug
This issue is about a bug
Alluxio Version:
alluxio-2.6.2]
Describe the bug
After a file is read using fuse client, alluxio shows its not cached.
To Reproduce
`[opc@inst-czyk1-tough-reindeer alluxio-2.6.2]$ time cat /mnt/fuse_client/alluxio-2.6.2-bin.tar.gz > /dev/null
real 22m17.571s
user 0m0.084s
sys 0m1.221s
Waited for 5 mins and then ran the below:
[opc@inst-czyk1-tough-reindeer alluxio-2.6.2]$ ./bin/alluxio fs ls /alluxio-2.6.2-bin.tar.gz
-rw-r--r-- opc opc 1859637604 PERSISTED 10-19-2021 15:59:59:389 0% /alluxio-2.6.2-bin.tar.gz
[opc@inst-czyk1-tough-reindeer alluxio-2.6.2]$`
Expected behavior
Should show cached 100%
Urgency
Unable to use fuse client.
Are you planning to fix it
Please indicate if you are already working on a PR.
Additional context
Add any other context about the problem here.
Did the same using Native Client and it worked.
`[opc@inst-czyk1-tough-reindeer alluxio-2.6.2]$ time ./bin/alluxio fs cat /alluxio-2.6.2-bin.tar.gz > /dev/null
real 0m7.143s
user 0m9.693s
sys 0m1.350s
[opc@inst-czyk1-tough-reindeer alluxio-2.6.2]$ ./bin/alluxio fs ls /alluxio-2.6.2-bin.tar.gz
-rw-r--r-- opc opc 1859637604 PERSISTED 10-19-2021 15:59:59:389 100% /alluxio-2.6.2-bin.tar.gz
[opc@inst-czyk1-tough-reindeer alluxio-2.6.2]$`
The text was updated successfully, but these errors were encountered: