【发布时间】:2019-05-28 19:40:00
【问题描述】:
我正在编写一个测试应用程序来从 AzureData Lake 读取文件。我已经创建了帐户和资源,并上传了文件。我正在尝试使用以下代码创建客户端(如文档https://docs.microsoft.com/en-us/azure/data-lake-store/data-lake-store-get-started-java-sdk 中所述)。我从哪里得到这些值? 谢谢
String clientId = "FILL-IN-HERE";
String authTokenEndpoint = "FILL-IN-HERE";
String clientKey = "FILL-IN-HERE";
AccessTokenProvider provider = new ClientCredsTokenProvider(authTokenEndpoint, clientId, clientKey);
// full account FQDN, not just the account name
String accountFQDN = "FILL-IN-HERE";
ADLStoreClient client = ADLStoreClient.createClient(accountFQDN, provider);
【问题讨论】:
标签: java azure azure-data-lake