question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Throw CCE when using Fuse while enable client cache

See original GitHub issue

Alluxio Version: Alluxio master branch, HEAD

Describe the bug

image

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:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
maobaolongcommented, May 21, 2021

@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.

0reactions
AlexChenSkyBluecommented, May 21, 2021

We plan to use FUSE+Worker combination. but there is no valid kubernetes helm deployment option yet

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found