GlusterFS

This guide describes how to configure Alluxio with GlusterFSarrow-up-right as the under storage system.

Initial Setup

The Alluxio binaries must be available on the machine.

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:19999arrow-up-right.

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:

To stop Alluxio, you can run:

Contributed by the Alluxio Community

GlusterFS UFS integration is contributed and maintained by the Alluxio community. The source code is located herearrow-up-right. Feel free submit pull requests to improve the integration and update the documentation herearrow-up-right if any information is missing or out of date.

Last updated