Azure Data Lake Storage
This guide describes how to configure Alluxio with Azure Data Lake Storage Gen1 as the under storage system.
The Alluxio binaries must be on your machine. You can either , or download the precompiled binaries directly.
In preparation for using Azure Data Lake storage with Alluxio, create a new Data Lake storage in your Azure account or use an existing Data Lake storage. You should also note the directory you want to use, either by creating a new directory, or using an existing one. You also need to set up for your storage account. For the purposes of this guide, the Azure storage account name is called and the directory in that storage account is called <AZURE_DIRECTORY>
. For more information about Azure storage account, Please see here.
Specify the underfs address by modifying conf/alluxio-site.properties
to include:
Specify the application ID, authentication key and tenant ID for the Azure AD application used for the Azure account of the root mount point by adding the following properties in conf/alluxio-site.properties
:
- For instructions on how to retrieve the application ID and authentication key (also called the client secret) for your application, see .
- For instructions on how to retrieve the tenant ID, see Get tenant ID.
Nested Mount
An Azure Data Lake store 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.
$ ./bin/alluxio fs mount \
--option fs.adl.account.<AZURE_ACCOUNT>.oauth2.refresh.url=https://login.microsoftonline.com/<TENANT_ID>/oauth2/token
/mnt/adls adl://<AZURE_ACCOUNT>.azuredatalakestore.net/<AZURE_DIRECTORY>/
Start up Alluxio locally to see that everything works.
This should start an Alluxio master and an Alluxio worker. You can see the master UI at .
Run a simple example program:
./bin/alluxio runTests
To stop Alluxio, you can run: