azure-sdk-for-python: Azure DL Storage Gen2 runs into timeout on get_paths
- Package Name: from azure.storage.filedatalake import DataLakeServiceClient
- Package Version: azure-storage-file-datalake==12.0.0b6
- Operating System: Unix/Debian/Ubuntu
- Python Version: Python 3.7.3
Describe the bug [1]
service_client = DataLakeServiceClient(account_url=accountURL, credential=storageKey)
fsClient = service_client.get_file_system_client(file_system=filesystem)
paths = fsClient.get_paths(path=directory)
When running this code on ADLS Gen2 I run into a timeout:
azure.storage.filedatalake._generated.models._models_py3.StorageErrorException: Operation returned an invalid status 'Operation could not be completed within the specified time.'
Same thing happens sometimes when trying to view the content of the DL in Storage explorer.
<?xml version="1.0" encoding="utf-8"?><Error><Code>OperationTimedOut</Code><Message>Operation could not be completed within the specified time. RequestId:c529aebd-e01e-0063-0ab7-f66173000000...
The datalake folder containing avro files from EventHub has about 60 pages and 5,986 Elements
To Reproduce Steps to reproduce the behavior:
- run the snippet from above [1] to a datalake gen2 with about 5,986 elements with an element size from 508B to 132KB
Expected behavior
The generator with paths from the DL folder should be created in variable paths
Screenshots Class Method in my actual program Traceback when trying to debug on command line.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16
Request ID is RequestId:31f106e9-101f-00fe-6a78-f71b33000000