Created on 06-02-201706:52 PM - edited 09-16-202201:40 AM
The steps below show how to configure authentication between your HDP cluster and WASB using the wasb connector.
Note for Cloudbreak users: When you create a cluster with Cloudbreak, you can configure authentication with WASB on the "Add File System" page of the create cluster wizard. If you do this, you do not need to perform the steps below. If you have already created a cluster with Cloudbreak but did not perform WASB configuration on the"Add File System" page of the create cluster wizard, follow the steps below:
Prerequisites
1. The Azure prerequisite to configuring authentication is having a storage subscription and creating a storage account. For example:
2. On the HDP side, you must use a version that supports the WASB integration. I am using HDP 2.6.1, which supports connecting to WASB using the WASB connector.
Steps
In order to access data stored in your Azure blob storage account, you must configure your storage account access key in core-site.xml. The configuration property that you must use is fs.azure.account.key.<account name>.blob.core.windows.net and the value is the access key.
For example the following property should be used for a storage account called "testaccount":
For example, to access a file called "testfile" located in a directory called "testdir", stored in the container called "testcontainer" on the account called "hortonworks", the URL is: