-
Notifications
You must be signed in to change notification settings - Fork 104
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
mkdir does not create dirs with herarchical namespace enabled #203
Comments
Based on this discussion on fsspec, release 0.7 of adlfs will make mkdir a noop, to align be consistent with fsspec, and more closely align to the Azure blob API. |
Thanks, a note somewhere in the docs would be nice, I guess since this is one of the few issues mentioning mkdir. Could you share your thoughts on the different behavior with hierarchical namespace enabled and not? |
Based on my experience, I would not expect there to be a difference. I our environment, we have hierarchical namespaces enabled and the functionality works. The only time we've had a issue is if permissions do not allow the ServicePrincipal access to a given container / folder / directory. |
Closing this as it seems to be stale. |
It seems the issue persists. I m trying to upload a directory recursively and the function call on this line hangs forever when it is a directory. On the storage account, hierarchical namespace is disabled and I connect to azure storage by using access keys (so I assume there is no problem regarding the permission). I see this PR changes this function call to return and it works, but the rest of the changes are obsolete with the latest release. Environment: |
I have a storage account (V2) with hierarchical namespace enabled and cannot get any of the
mkdir
,mkdirs
,makedir
ormakedirs
to actually create a directory:Here is a minimal example:
What happened:
In both cases, when
test
container exists and if it does not, behavior is the same and withoutexist_ok=True
gives meWith
exist_ok=True
it just hangs for some time, does not give any output and does not create the directory.What you expected to happen:
To the directory to be created for the specified path.
Anything else we need to know?:
I went through #137 and can create directories when hierarchical namespace option is disabled but then even when I include a trailing
/
a bunch of empty<no_name>
files are produced in the dirs. I guess this is an artifact of creating virtual dirs.Environment:
The text was updated successfully, but these errors were encountered: