0

We are trying to download a file present in Data Lake Store. I have been following the below tutorial which uses .Net Azure SDk.

https://azure.microsoft.com/en-us/documentation/articles/data-lake-analytics-get-started-net-sdk/

As we have already the file present in Azure Data Lake Store , I just added the code to download the file

FileCreateOpenAndAppendResponse beginOpenResponse = _dataLakeStoreFileSystemClient.FileSystem.BeginOpen("/XXXX/XXXX/test.csv", DataLakeStoreAccountName, new FileOpenParameters());
            FileOpenResponse openResponse = _dataLakeStoreFileSystemClient.FileSystem.Open(beginOpenResponse.Location);

But it's failing with the below error

{"RemoteException":{"exception":"RuntimeException","message":"FsOpenStream failed with error 0x83090aa2 (). [83271af3c3a14973ad7814e7d9d201f6]","javaClassName":"java.lang.RuntimeException"}}

While debugging we inspected the beginOpenResponse.Location that been used in the second line code. It seems to the correct value as below

https://XXXXXXXX.azuredatalakestore.net/webhdfs/v1/XXXX/XXX/test.csv?op=OPEN&api-version=2015-10-01-preview&read=true

The error does not provide much information to track down the problem.

4

1 回答 1

1

我同意商店错误目前是不可打印的评论。我们正在努力改进这一点。

根据我的商店开发人员的说法,0x83090aa2 是访问检查失败。您能否检查您是否有权访问存储帐户和/或路径是否正确?

于 2016-01-27T07:49:35.827 回答