Configuration
Specific configuration areas are described below; please refer to the deployment instructions for complete examples.
Alluxio Site Properties
Alluxio Edge can be configured by setting the values of configuration properties within alluxio-site.properties
.
License configurations
Alluxio Edge requires a license and an ETCD cluster to connect to. These are configured by the following properties.
alluxio.license=<YOUR_LICENSE_STRING>
# list the URLs for each etcd host in the etcd cluster, ex. http://trino-edge-etcd1:2379,http://trino-edge-etcd2:2379,http://trino-edge-etcd3:2379
alluxio.etcd.endpoints=<YOUR ETCD ENDPOINTS HERE>
As needed, set the username and password to authenticate to ETCD.
alluxio.etcd.username=username
alluxio.etcd.password=password
Specify the Root Under File System
Specify the Cache Storage Directories
Trino worker and coordinator needs to know the Alluxio Edge cache size alluxio.user.client.cache.size
and
path alluxio.user.client.cache.dirs
. This sample code specifies the cache storage directories Alluxio Edge will use.
Enable edge cache on RAM disk, assuming it is mounted on /dev/shm:
#alluxio.user.client.cache.enabled=true
#alluxio.user.client.cache.size=1GB
#alluxio.user.client.cache.dirs=/dev/shm/alluxio_cache
Enable edge cache on 2 NVMe volumes
alluxio.user.client.cache.enabled=true
alluxio.user.client.cache.size=600GB,600GB
alluxio.user.client.cache.dirs=/mnt/nvme0/alluxio_cache,/mnt/nvme1/alluxio_cache
Enable Alluxio Edge metrics collection
alluxio.user.metrics.collection.enabled=true