如何在 Databricks hive 元存储中使用位置 adls 和 abfss 创建数据库(无需安装)?
像这样的东西
create database if not exists adb_raw
location "abfss://con[email protected] /cdn-cgi/l/email-protection/01_RAW/flat_files/"
将返回错误:
Error in SQL statement: AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Got exception: shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.contracts.exceptions.KeyProviderException Failure to initialize configuration)
您需要在 SQL 管理控制台中提供 ADLS 身份验证的配置参数,如文档 https://learn.microsoft.com/en-us/azure/databricks/sql/admin/data-access-configuration#--configure-a-service-principal.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)