简体   繁体   English

使用 Databricks 文件系统安装 azure 存储帐户时出错

[英]getting error while mounting azure storage account with Databricks file system

I am new to Azure Databricks and even to Spark technology.我是 Azure Databricks 甚至 Spark 技术的新手。 I am trying to mount my azure storage on HDFS using below method but it is giving error mentioned below.我正在尝试使用以下方法将我的 azure 存储安装在 HDFS 上,但它给出了下面提到的错误。 Can somebody please help me to fix this?有人可以帮我解决这个问题吗? In the notebook, I have selected Scala as a language.在笔记本中,我选择了 Scala 作为语言。

    dbutils.fs.mount( source = "wasbs://rmwblobcontainer@rmwsa1.blob.core.windows.net/", mountPoint = "/mnt/mypath", extraConfigs = Map("fs.azure.account.key.rmwsa1.blob.core.windows.net" -> "{MX6BzXjcdIW+SJrvfocw8uFLT99Gs1aLtWBWkpQK7OyXIlctaoW1A/WQ9gBEGaxXcQ76FjEAI2hJGTiOQ6lCAA==}"))

Error --错误 -

    shaded.databricks.org.apache.hadoop.fs.azure.AzureException: 
    java.lang.IllegalArgumentException: The String is not a valid Base64-encoded string

You will recieve this error message " shaded.databricks.org.apache.hadoop.fs.azure.AzureException: java.lang.IllegalArgumentException: The String is not a valid Base64-encoded string ", when you have additional values in the Azure Storage access key. You will recieve this error message " shaded.databricks.org.apache.hadoop.fs.azure.AzureException: java.lang.IllegalArgumentException: The String is not a valid Base64-encoded string ", when you have additional values in the Azure Storage访问密钥。

Azure Storage access key contains curly braces "{}" at start & end, please do remove curly brackets and rerun the cell. Azure 存储访问密钥在开头和结尾包含大括号“{}”,请删除大括号并重新运行单元格。

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure Databricks 装载 Blob 存储 - Azure Databricks mounting a blob storage 数据块中表中的 Azure 存储帐户文件详细信息 - Azure Storage Account file details in a table in databricks Azure 函数:访问存储帐户时出现 403 错误 - Azure functions : Getting 403 error while accessing the storage account 使用 dbutils.fs.mount 和 dbutils.secrets.get 将 Azure blob 存储安装到 Databricks 时出现错误“字符串不是有效的 Base64 编码字符串” - Error "String is not a valid Base64-encoded string" while mounting Azure blob storage to Databricks using dbutils.fs.mount and dbutils.secrets.get 在 Azure Databricks 中编辑 Azure 存储帐户 - Editing the Azure Storage Account in Azure Databricks 在 Azure 中创建存储帐户时出现 403 错误 - 403 Error while creating storage account in Azure 从存储帐户创建 Azure databricks 笔记本 - Create Azure databricks notebook from storage account Azure Databricks 以存储帐户作为数据层 - Azure Databricks with Storage Account as data layer 使用命令 New-AzStorageAccount 创建新存储帐户时 azure powershell 出现错误 - Getting error in azure powershell while creating new storage account using the command New-AzStorageAccount 将 nsg 流日志传输到 azure 中不同订阅中的存储帐户时,在 powershell 中出现“错误请求”错误 - getting “Bad Request” error in powershell while transferring the nsg flow log to the storage account in different subscription in azure
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM