https://github.com/gluster/libgfapi-jni
Java Native Interface (JNI) bindings for libgfapi (the GlusterFS client API)
https://github.com/gluster/libgfapi-jni
filesystem glusterfs-java-filesystem java jni libgfapi low-level storage
Last synced: 3 months ago
JSON representation
Java Native Interface (JNI) bindings for libgfapi (the GlusterFS client API)
- Host: GitHub
- URL: https://github.com/gluster/libgfapi-jni
- Owner: gluster
- License: other
- Created: 2013-06-25T17:40:56.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-03-24T13:34:18.000Z (almost 9 years ago)
- Last Synced: 2023-08-17T16:08:57.527Z (over 2 years ago)
- Topics: filesystem, glusterfs-java-filesystem, java, jni, libgfapi, low-level, storage
- Language: Java
- Homepage: https://github.com/gluster/libgfapi-jni
- Size: 138 KB
- Stars: 9
- Watchers: 5
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
# libgfapi-jni
Java Native Interface (JNI) bindings for libgfapi, the GlusterFS client API.
# Usage
This project provides a low level binding from Java to the C language GlusterFS API library.
It was developed as part of [glusterfs-java-filesystem](https://github.com/semiosis/glusterfs-java-filesystem). Use that
project to enable GlusterFS support in your Java applications.
# Development Instructions
## Prerequisites
* glusterfs 3.4 or newer - installed from source or a gluster development package installed.
* maven 3.0.3 or newer
* auto tool chain
* Ubuntu packages: build-essential libtool pkg-config automake
* Ubuntu glusterfs PPAs: https://launchpad.net/~gluster (the glusterfs-common package is required to build this project)
## Compiling without tests
If you have installed gluster to non-standard location then you export `GLFS_HOME` so we know where it's at:
export GLFS_HOME=/path/to/gluster/prefix
Building without tests is simple. Just run:
mvn -Dmaven.test.skip=true install
## Compiling and Testing
The test suite is configured by default to run against the glusterfs server configured in the vagrant box provided by
glusterfs-java-filesystem. Run `vagrant up` in that project's root directory to launch the server, then run the tests
in this project.
Once that server is up, you can run the tests with:
mvn test
# Project License
Until further notice (made here and in LICENSE.txt) this project is licensed under the terms of the
3-clause BSD license, as written in LICENSE.txt (and copied in several source files).
The licensing is likely to change in the near future as the project matures.