简体   繁体   中英

Microsoft.Rest.Azure.CloudException was thrown when trying to open file from Data Lake store

I have a big file on Data Lake store, size is 35GB. I m trying to open just a little part of it, with .net SDK method

public static Task<Stream> OpenAsync(this IFileSystemOperations operations, string accountName, string directFilePath, long? length = null, long? offset = null, Guid? fileSessionId = null, CancellationToken cancellationToken = default(CancellationToken));

where I put my length to be 2mb or 2097152 bytes and offset to almost 35gb 37580963840 bytes. When I run the application it throws Microsoft.Rest.Azure.CloudException without any inner exception and stack trace is not of big use. Does anybody know something about this?

可能是授权失败,您是否为aad提供了“读取”访问权限(datalake => IAM(访问控制))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM