Configuring Alluxio with GlusterFS
This guide describes how to configure Alluxio with GlusterFS as the under storage system.
You need to configure Alluxio to use under storage systems by modifying
conf/alluxio-site.properties. If it does not exist, create the configuration file from the
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 environment variable assignment needs to be added to
Running Alluxio Locally with GlusterFS
After everything is configured, you can start up Alluxio locally to see that everything works.
./bin/alluxio format ./bin/alluxio-start.sh local
This should start an Alluxio master and an Alluxio worker. You can see the master UI at http://localhost:19999.
Next, you can run a simple example program:
After this succeeds, you can visit your GlusterFS volume to verify the files and directories created by Alluxio exist. For this test, you should see files named like:
To stop Alluxio, you can run: