Azure .Net SDK Error : FsOpenStream failed with error 0x83090aa2

一个人想着一个人 提交于 2019-12-12 04:16:39

问题


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.


回答1:


I agree that the store errors are currently non-printable comment. We are working on improving this.

According to my store developer, 0x83090aa2 is access check failed. Can you please check if you have access to the storage account and/or the path is correct?



来源:https://stackoverflow.com/questions/35030590/azure-net-sdk-error-fsopenstream-failed-with-error-0x83090aa2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!