Skip to content

cannot find GlusterfsFileSystemProvide when on linux or winodws by jar #11

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

Open
yetian12 opened this issue Mar 9, 2022 · 0 comments
Open

Comments

@yetian12
Copy link

yetian12 commented Mar 9, 2022

in idea, it can found glusterfsFileSystemProvider,like this:
List fileSystemProviders = FileSystemProvider.installedProviders();
for (FileSystemProvider p: fileSystemProviders
) {
logger.info(String.format("file providers class are:[%s]",p.getClass()));
logger.info(String.format("file providers are:[%s]",p.getScheme()));
}
file providers class are:[class sun.nio.fs.WindowsFileSystemProvider]
file providers are:[file]
file providers class are:[class com.sun.nio.zipfs.ZipFileSystemProvider]
file providers are:[jar]
file providers class are:[class com.peircean.glusterfs.GlusterFileSystemProvider]
file providers are:[gluster]

but,when it was jar on windows or linux, just can find WindowsFileSystemProvider\ZipFileSystemProvider,or LinuxFileSystemProvider\ZipFileSystemProvider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant