Throw CCE when using Fuse while enable client cache
See original GitHub issueAlluxio Version: Alluxio master branch, HEAD
Describe the bug
java.lang.ClassCastException: alluxio.client.file.cache.LocalCacheFileInStream cannot be cast to alluxio.client.file.AlluxioFileInStream
at alluxio.fuse.AlluxioJniFuseFileSystem.readInternal(AlluxioJniFuseFileSystem.java:429)
at alluxio.fuse.AlluxioJniFuseFileSystem.lambda$read$17(AlluxioJniFuseFileSystem.java:404)
at alluxio.fuse.AlluxioFuseUtils.call(AlluxioFuseUtils.java:280)
at alluxio.fuse.AlluxioJniFuseFileSystem.read(AlluxioJniFuseFileSystem.java:404)
at alluxio.jnifuse.AbstractFuseFileSystem.readCallback(AbstractFuseFileSystem.java:180)
To Reproduce
Enable client cache in alluxio-site.properties
alluxio.user.client.cache.enabled=true
And then start Alluxio-fuse, read a file
Expected behavior
get the content of the file.
Urgency
Urgent, block to use Alluxio Local Cache.
Additional context No.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Tuning the Cache for FUSE-Based POSIX Clients
Describes performance tuning measures for FUSE clients. The FUSE kernel and the FUSE userspace process caches both data and metadata.
Read more >Chapter 6. Known Issues Red Hat Data Grid 7.1
When attempting to insert values into a cache using the Spark connector while compatibility mode is enabled the request will fail with a...
Read more >Alluxio 2.6.0 Release
Alluxio 2.6 supports running FUSE as a part of a worker process ... Fix throw CCE when using Fuse while enable client cache...
Read more >afsd, afsd.fuse - Initializes the Cache Manager and starts ...
command initializes the Cache Manager on an AFS client machine by transferring AFS-related configuration information into kernel memory and starting several ...
Read more >Red Hat Enterprise Linux 8.6 8.6 Release Notes
install the Red Hat Insights client and register your system to the service, ... in RHEL 8.5 and earlier using fuse-overlayfs now recognize....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@apc999 Hi Bin, In our scenario, we have to use
standalone
mode fuse, because the alluxio-fuse is out of our alluxio cluster, even worse, the ttl between alluxio-fuse and alluxio cluster are high ~4ms, so we’d like to enable client.metadata.cache and client.local.cache feature to reduce the communicate and data transform between alluxio-fuse and alluxio cluster, but met this CCE.We plan to use FUSE+Worker combination. but there is no valid kubernetes helm deployment option yet