【发布时间】:2017-10-30 11:08:55
【问题描述】:
您好,我使用 Azure Data Lake Analysis 分析系统日志。
而且,我遇到了从 Data Lake Analysis(U-SQL) 连接 Blob 存储的问题
这个 U-SQL 显示从 blob 存储读取文件
在启动这个 U-SQL 之前,我创建了 test2 blob 存储和 testcon 容器
(并设置访问策略)
@searchlog =
EXTRACT UserId int,
Start DateTime,
Region string,
Query string,
Duration int,
Urls string,
ClickedUrls string
FROM @"wasb://testcon@test2/SearchLog.tsv"
USING Extractors.Tsv();
但我遇到了一个例外。
Error
E_STORE_USER_FAILURE
Message
Secret not found for the specified user account Cosmos Path: wasb://testcon@test2/SearchLog.tsv
我该如何解决这个问题?
【问题讨论】:
-
"test2" 是您实际的 Windows Azure Blob 存储帐户吗?见About Azure storage accounts
-
"test2" 不是真实账户。(只是示例)。但我的真实账户并没有错。我也尝试“test2.blob.core.windows.net”,结果是一样的。
-
您的 Windows Azure Blob 存储帐户是否已在您的 Azure Data Lake Analytics 帐户中注册?从 Azure 门户转到您的 Azure Data Lake Analytics 帐户。然后单击数据源。您是否看到列出了您的存储帐户?如果不是,请单击添加数据源,然后添加您的 Windows Azure Blob 存储帐户。
-
感谢您的帮助。我通过您的评论解决了问题。
-
很高兴听到。我已将Registering Your Windows Azure Blob Storage account 添加到 U-SQL 语言参考中。将信息发布为答案而不是评论。
标签: azure azure-storage azure-data-lake u-sql