gluster/glusterfs-hadoop — pull request #91 by childsb (2014-03-27 15:33:09+00:00)
Title: Multi volume support for glusterfs-hadoop

This enhancement will allow multiple gluster volumes accessible in a single hadoop configuration.

These configuration changes to core-site.xml are required:

fs.glusterfs.volumes
gv0,gv1

fs.glusterfs.volume.fuse.gv0
/mnt/gv0

fs.glusterfs.volume.fuse.gv1
/mnt/gv1

The fs.glusterfs.volumes setting is a comma separated list of gluster volumes. The default volume is considered the first volume in the list and can be accessed with no authority in the URI (ie. glusterfs:///path).

For each volume, a fuse mount must be specified with fs.glusterfs.volume.fuse. setting.

The URI format for each volume is "glusterfs://volname/pathToFile". The first volume in the list can be accessed without the volume name in URI. On startup, the working-directory is set to "glusterfs:///user/" and will be used to relativize unqualified paths (unless set to something else during runtime).