Azure Data Lake Storage Gen2

Slack Docker Pulls GitHub edit source

This guide describes how to configure Alluxio with Azure Data Lake Storage Gen2 as the under storage system.

Azure Data Lake Storage Gen2 is a set of capabilities dedicated to big data analytics, built on Azure Blob Storage. It converges the capabilities of Azure Data Lake Storage Gen1 with Azure Blob Storage.

For more information about Azure Data Lake Storage Gen1, please read its documentation.


If you haven’t already, please see Prerequisites before you get started.

In preparation for using Azure Data Lake Storage Gen2 with Alluxio, create a new Data Lake storage in your Azure account or use an existing Data Lake storage.

<AZURE_CONTAINER> The container you want to use
<AZURE_DIRECTORY> The directory you want to use in the container, either by creating a new directory or using an existing one
<AZURE_ACCOUNT> Your Azure storage account

You also need a SharedKey to authorize requests.

Basic Setup

To use Azure Data Lake Storage Gen2 as the UFS of Alluxio root mount point, you need to configure Alluxio to use under storage systems by modifying conf/ If it does not exist, create the configuration file from the template.

$ cp conf/ conf/

Specify the underfs address by modifying conf/ to include:


Setup with Shared Key

Specify the Shared Key by adding the following property in conf/<AZURE_ACCOUNT><AZURE_SHARED_KEY>

Setup with OAuth 2.0 Client Credentials

Specify the OAuth 2.0 Client Credentials by adding the following property in conf/ (Please note that for URL Endpoint, use the V1 token endpoint)<OAUTH_ENDPOINT><CLIENT_ID><CLIENT_SECRET>

Setup with Azure Managed Identities

Specify the Azure Managed Identities by adding the following property in conf/<MSI_ENDPOINT><CLIENT_ID><MSI_TENANT>

Running Alluxio Locally with Data Lake Storage

Once you have configured Alluxio to Azure Data Lake Storage Gen2, try running Alluxio locally to see that everything works.