-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AzureHttpError - unable to read file from blob #48
Comments
This is the first report I've gotten of this error. Noted mdurant's suggestion, which seems the most likely explanation. Can I assume your filepath is formatted as: |
I was actually doing I'm in East US 2. |
For reference, I'm working in East US 2 daily without issue, so I would assume it's not an availability problem. Can you answer a few other questions?
|
Thanks for the prompt for a MCVE.
Windows 10 further details below > conda list:_anaconda_depends 2019.03 py37_0
distributed (2.10.1) using a
Good questions. I tackle then both in the MCVE code. I get
|
I've just attempted to reproduce your example, but it worked on my end. Below is my code and results:
This was run on Linux with Anaconda Python. Python v3.6.7. Confirmed it works on my Windows 10 as well. Versions of adlfs, fsspec, azure-storage-blob == 2.1.0, azure-common==1.1.24, and azure-datalake-store==0.0.48. I see that you have azure-core installed, which I do not have installed, and is not a dependency. You may want to try removing. Looking through other packages that are logical suspects, I also have requests 2.23 rather than 2.22. I will investigate further later today. |
Thanks a lot for running. Regarding the packages I’ll try in a new env |
Here's a new environment. Slightly different error message but same thing along the lines of file(s) not found? Create new env:
Check packages: > conda list:adal 1.2.2 pypi_0 pypi Setup code:
csv example:
Error message:
Print a few things using %debug:
parquet example:
Error message:
Print a few things using %debug:
It seems I'll try |
Create new env:
Check packages: > conda list:abseil-cpp 20200225.1 he025d50_2 conda-forge Setup code:
csv example:
Same error as above parquet example:
Same error as above Some output of %debug:
pyarrow over fastparquet doesn't seem to matter. |
Just tested reading the csv file and worked on my linux machine. Although got the
|
reading the csv file worked fine on my Mac. Same I see there are two things here:
|
I've spent some time on this today. I can replicate your issue on my Windows machine, but it works as expected on Ubuntu and my Mac. I've found one compatibility issue with the 0.7.2 release of fsspec, which I will work on fixing tomorrow. Currently comparing package dependencies between Windows and Linux. |
I just uploaded v0.2.2. Give it a shot and let me know if it works for you. Seems there was an issue with parsing container names in Windows, which should be fixed. Also found a change in fsspec v0.6.3 that is causing adlfs to fail one of its unit tests. Need to verify everything is OK before I allow fsspec >= 0.6.3, so pinned to fsspec0.6.0 to 0.6.2. Let me know if it solves your issue. |
Thanks. I'll try tomorrow |
Thanks @hayesgb! I was able to read in the csv file on my windows. Going to move the parquet file read to a separate issue |
Following up from a SO Q here: https://stackoverflow.com/questions/61220615/dask-read-parquet-from-azure-blob-azurehttperror/61229497#61229497
Unfortunately, i'm still getting an
AzureHttpError
. Not sure if anyone here has encountered this? Unfortunately, it's persistent for me.The text was updated successfully, but these errors were encountered: