Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alluxio-fuse mount with libfuse2 encountered "undefined symbol: fuse_main_real" #18513

Closed
secfree opened this issue Feb 7, 2024 · 1 comment
Labels
type-bug This issue is about a bug

Comments

@secfree
Copy link
Contributor

secfree commented Feb 7, 2024

Alluxio Version:
v308

Describe the bug
alluxio-fuse mount with libfuse3 is ok but using libfuse2 encountered the following exception

$ ./dora/integration/fuse/bin/alluxio-fuse mount o3fs://alluxio.test.dev/ /mnt/data/
Mounting o3fs://alluxio.test.dev/ to /mnt/data
.............................................................
[2024-02-07T06:46:41+0000]: Failed to mount ufs path o3fs://alluxio.test.dev/ to local mount point /mnt/data.
ERROR ../../src/main/native/libjnifuse/jnifuse_helper.cc:34 Validate standard errors can be logged as expected
/usr/lib/jvm/java-8-openjdk-amd64/bin/java: symbol lookup error: /tmp/libjnifuse5856113114345062784.so: undefined symbol: fuse_main_real

To Reproduce

Add the following configuration to alluxio-site.properties

alluxio.underfs.version=1.2.1
alluxio.underfs.hdfs.configuration=./conf/ozone-site.xml
alluxio.dora.client.ufs.root=o3fs://alluxio.test.dev/
alluxio.dora.enabled=false
alluxio.fuse.jnifuse.libfuse.version=2

and mount with the following command

./dora/integration/fuse/bin/alluxio-fuse mount o3fs://alluxio.test.dev/ /mnt/data/

Expected behavior
mount should succeed

@secfree secfree added the type-bug This issue is about a bug label Feb 7, 2024
@lucyge2022
Copy link
Contributor

Thanks for creating the issue! Will fix the libjnifuse.so build right away.

alluxio-bot pushed a commit that referenced this issue Mar 5, 2024
### What changes are proposed in this pull request?

rebuild libjnifuse on Centos7 (glibc 2.17, libfuse 2.9.2) 
the build should work on Ubuntu with glibc 2.3x 

### Why are the changes needed?

libjnifuse.so fails to link to libfuse2, issue created here : #18513
Introduced by a jnifuse change to rebuild the libjnifuse.so 


### Does this PR introduce any user facing changes?

fuse2 should be able to use now

			pr-link: #18537
			change-id: cid-d5bd6421ccd76f59e6e1216ac9940c419c3c6a45
@elega elega closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug This issue is about a bug
Projects
None yet
Development

No branches or pull requests

3 participants