-
Notifications
You must be signed in to change notification settings - Fork 45
Cannot create a new filesystem #20
Comments
You need to have the libgfapi C library installed, usually from your distro's glusterfs packages. |
Thank you very much for you reply, so I think is mandatory a unix/linux environment, not windows right? |
If the libgfapi C library works on windows, then the libgfapi-jni library could be built to link with it. I don't know if libgfapi supports windows. |
Thank you very much! I installed libgfapi on linux machine and tried to create a new file (not existing), but seems it's not working. No error log on gluster machine. gluster://10.192.2.6:myvolume/test2 |
I haven't worked on this project in a few years so I may not be much help here. I would check the following...
Good luck. |
I am trying to apply the gluster library on k8s running pod
I think that installing glusterfs-server , commons are included ... Into the pod we find :
And
Do we need to config GLFS_HOME , which dicrectory?? Running glusterfs example into a pod, we got the following error:
The code is:
But, running from bash shell,
can we install the gluster client into all k8s nodes? |
Hi all, I created a new project by importing glusterfs-java-filesystem-1.0.4.jar, libgfapi-jni-1.0.4.jar and hawtjni-runtime-1.9.jar jars, and by following the Example.java class, but I get the following message error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no libgfapi-jni in java.library.path]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at com.peircean.libgfapi_jni.internal.GLFS.(GLFS.java:52)
at com.peircean.glusterfs.GlusterFileSystemProvider.glfsNew(GlusterFileSystemProvider.java:70)
at com.peircean.glusterfs.GlusterFileSystemProvider.newFileSystem(GlusterFileSystemProvider.java:43)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:326)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:276)
at com.gpi.gluster.GlusterConnector.main(GlusterConnector.java:50)
Any idea? Thank you very much in advance!
The text was updated successfully, but these errors were encountered: