Finding Unravel Properties in Azure
HDInsight Block Storage Properties
For a storage account named storage-name
the corresponding storage account name is fs.azure.account.key.
. A storage account name has two access keys. Both access keys are required.storage-name
.blob.core.windows.net
Property | Definition | Default |
---|---|---|
com.unraveldata.hdinsight.storage-account-name-1 | Storage account name | Retrieve from Microsoft Azure |
com.unraveldata.hdinsight.primary-access-key | Storage account key1 | Retrieve from Microsoft Azure |
com.unraveldata.hdinsight.storage-account-name-2 | Storage account name | Set to same value as com.unraveldata.hdinsight.storage-account-name-1 |
com.unraveldata.hdinsight.secondary-access-key | Storage account key2 | Retrieve from Microsoft Azure |
Navigate to https://portal.azure.com
Find the name of the storage account.
In the Azure dashboard, click HDInsight clusters, select the cluster you want, and click Storage accounts.
Copy the storage name (
storage-name
).Tip
The complete name of your storage is
fs.azure.accountkey.
.storage-name
.blob.core.windows.netSet both com.unraveldata.hdinsight.storage-account-name-1 and com.unraveldata.hdinsight.storage-account-name-2 to this name.
Find the storage account's access keys.
From the Azure portal, select Storage Accounts |
storage-name
| Access Keys.Set com.unraveldata.hdinsight.primary-access-key to key1.
Set com.unraveldata.hdinsight.secondary-access-key to key2.
Azure Data Lake Storage (ADLS) Properties
The following properties are set with information obtained from the ADL properties in Microsoft Azure. If you are using Azure Blob storage (WASB), you can skip these properties.
Property | Definition | Default |
---|---|---|
com.unraveldata.adl.accountFQDN | The data lake fully qualified domain name. For example, | Retrieve from Microsoft Azure |
com.unraveldata.adl.clientId | Also known as the application ID. This is the application registration you created in the Azure Active Directory. | Retrieve from Microsoft Azure |
com.unraveldata.adl.clientKey | Also known as the application access key. You can create this key after registering the application. | Retrieve from Microsoft Azure |
com.unraveldata.adl.accessTokenEndpoint | The OAUTH 2.0 token endpoint as shown in the application registration tab. | Retrieve from Microsoft Azure |
com.unraveldata.adl.clientRootPath | The path in the data lake store where the target cluster has been given access. For example, on your deployment cluster | Retrieve from Microsoft Azure |
Locate your account's fully qualified domain name (FQDN).
Select Data Lake Storage | Data Explorer, and select the folder in the Data Explorer panel.
In the screenshot below, the folder name is datalake0001.
Click Folder properties.
Copy your account's FQDN in the Properties panel under PATH, and set com.unraveldata.adl.accountFQDN to this value.
For example,
com.unraveldata.adl.accountFQDN=datalake0001.azuredatalakestore.net
Note
Don't include the leading
adl://
in com.unraveldata.adl.accountFQDN.
Locate the OAUTH 2.0 token endpoint, application ID, and application key.
From the Azure portal, select Azure Active Directory | App Registrations | Endpoints.
Set com.unraveldata.adl.accessTokenEndpoint to the value of OAUTH 2.0 TOKEN ENDPOINT.
Click View all applications.
If your application is listed, select it.
If your application isn't listed, you need to create a new application:
select + New application registration, fill in the application information, and select Create.
Note
You need to grant access to the new application. For steps, see Grant Access to a Newly Created App.
Set com.unraveldata.adl.clientID to your application ID.
Whether you selected an existing application or created a new one, find the the app in the registered app panel. This panel contains your application ID.
Select Settings | Keys.
Create a new key.
Fill in the Description and select Duration.
To generate the key, click Save.
Warning
Copy and save the key value immediately. If you don't save it, when you leave this page you can't retrieve the key and must create a new one.
Set com.unraveldata.adl.clientKey to the key value.
Grant Access to a Newly Created Application
Select Data Lake Store | Data Explorer.
Select Access | +Add.
Click OK, select your app (in the screenshot, it's testTest) and click Select.
Grant the permissions to your app and click OK.
Your app is now listed under Assigned Permissions with the permissions noted.