[英]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.