This guide describes how to configure Alluxio with CephFS as the under storage system. Alluxio supports two different implementations of under storage system for CephFS:
Configure Alluxio to use under storage systems by modifying conf/alluxio-site.properties and conf/core-site.xml. If them do not exist, create the configuration files from the templates
Start up Alluxio locally to see that everything works.
$ ./bin/alluxio format$ ./bin/alluxio-start.sh local
This should start an Alluxio master and Alluxio worker. You can see the master UI at http://localhost:19999.
cephfs
An CephFS location can be mounted at a nested directory in the Alluxio namespace to have unified access to multiple under storage systems. Alluxio's Command Line Interface can be used for this purpose.
Issue the following command to use the ufs cephfs:
An CephFS location can be mounted at a nested directory in the Alluxio namespace to have unified access to multiple under storage systems. Alluxio's Command Line Interface can be used for this purpose.
Issue the following command to use the ufs cephfs:
$ ./bin/alluxio fs mkdir /mnt/cephfs-hadoop$ ./bin/alluxio fs mount /mnt/cephfs-hadoop ceph://mon1\;mon2\;mon3/