Azure Blob Storage¶
Warning
The legacy Windows Azure Storage Blob driver (WASB) has been deprecated. Azure Data Lake Storage Gen2 (ABFS) has numerous benefits over WASB that recommend migration.
Before deploying the Denodo Embedded MPP on Azure Kubernetes Service check Denodo Embedded MPP Azure Checklist to make sure you have everything you need.
Provide the Azure credentials to the kubectl create secret
command before the Embedded MPP is deployed:
ENV Variable |
Description |
---|---|
WASB_STORAGE_KEY |
Azure Blob Storage Key |
kubectl create secret generic mpp-credentials
--from-literal=METASTORE_DB_PASSWORD=hive
--from-literal=WASB_STORAGE_KEY=abfsstoragekey
It’s also necessary to set true the objectStorage.azure.sharedKey.enabled
and add the Azure Blob Storage Account in the objectStorage.azure.sharedKey.account
properties in values.yaml
.
As Azure Blob Storage is deprecated, the necessary properties are not included in the prestocluster/hive-metastore/conf/core-site.xml
and prestocluster/presto/conf/core-site.xml
so you need to modify fs.azure.account.key
property from:
<property>
<name>fs.azure.account.key.{{ .Values.objectStorage.azure.sharedKey.account }}.dfs.core.windows.net</name>
<value>${env.ABFS_STORAGE_KEY}</value>
</property>
To:
<property>
<name>fs.azure.account.key.{{ .Values.objectStorage.azure.sharedKey.account }}.blob.core.windows.net</name>
<value>${env.WASB_STORAGE_KEY}</value>
</property>
Run helm install
sentence
helm install prestocluster prestocluster/