Azure Blob Store
Last updated
Last updated
This guide describes how to configure Alluxio with as the under storage system.
The Alluxio binaries must be on your machine. You can either , or .
In preparation for using Azure Blob Store with Alluxio, create a new container in your Azure storage account or use an existing container. You should also note that the directory you want to use in that container, either by creating a new directory in the container, or using an existing one. For the purposes of this guide, the Azure storage account name is called <AZURE_ACCOUNT>
, the container in that storage account is called <AZURE_CONTAINER>
and the directory in that container is called <AZURE_DIRECTORY>
. For more information about Azure storage account, Please see .
To use Azure blob store as the UFS of Alluxio root mount point, you need to configure Alluxio to use under storage systems by modifying conf/alluxio-site.properties
. If it does not exist, create the configuration file from the template.
Specify the underfs address by modifying conf/alluxio-site.properties
to include:
Specify credentials for the Azure account of the root mount point by adding the following properties in conf/alluxio-site.properties
:
An Azure blob store location can be mounted at a nested directory in the Alluxio namespace to have unified access to multiple under storage systems. Alluxio's can be used for this purpose.
After these changes, Alluxio should be configured to work with Azure Blob Store as its under storage system, and you can run Alluxio locally with it.
Start up Alluxio locally to see that everything works.
Run a simple example program:
Visit your container <AZURE_CONTAINER>
to verify the files and directories created by Alluxio exist. For this test, you should see files named like:
To stop Alluxio, you can run:
If you mount the Blob and configure the Blob path start with wasb://
, you may see the error as follows:
You can change the Blob path start with wasbs://
.
This should start an Alluxio master and an Alluxio worker. You can see the master UI at .