GlusterFS
This guide describes how to configure Alluxio with GlusterFS as the under storage system.
Initial Setup
The Alluxio binaries must be on your machine. You can either compile Alluxio, or download the binaries locally.
Configuring Alluxio
Configure Alluxio to use under storage systems by modifying conf/alluxio-site.properties
. If it does not exist, create the configuration file from the template.
$ cp conf/alluxio-site.properties.template conf/alluxio-site.properties
Assuming the GlusterFS bricks are co-located with Alluxio nodes, the GlusterFS volume is mounted at /mnt/gluster
, the following configuration parameters need to be added to conf/alluxio-site.properties
:
alluxio.master.mount.table.root.ufs=/mnt/gluster
Running Alluxio Locally with GlusterFS
Start up Alluxio locally to see that everything works.
$ ./bin/alluxio format
$ ./bin/alluxio-start.sh local SudoMount
This should start an Alluxio master and an Alluxio worker. You can see the master UI at http://localhost:19999.
Run a simple example program:
$ ./bin/alluxio runTests
Visit your GlusterFS volume to verify the files and directories created by Alluxio exist. For this test, you should see files named like:
/mnt/gluster/default_tests_files/BASIC_CACHE_ASYNC_THROUGH
To stop Alluxio, you can run:
$ ./bin/alluxio-stop.sh local
Contributed by the Alluxio Community
GlusterFS UFS integration is contributed and maintained by the Alluxio community. The source code is located here. Feel free submit pull requests to improve the integration and update the documentation here if any information is missing or out of date.