-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[C++][FS][Azure] Produce better error message when Move is attempted on flat-namespace accounts #40405
Comments
kou
pushed a commit
that referenced
this issue
Mar 8, 2024
…n flat-namespace accounts (#40406) ### Rationale for this change To guide users that might try to `Move` on accounts without HNS. ### What changes are included in this PR? The rewrite of the error message. ### Are these changes tested? Covered by existing tests. * GitHub Issue: #40405 Authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Issue resolved by pull request 40406 |
thisisnic
pushed a commit
to thisisnic/arrow
that referenced
this issue
Mar 8, 2024
…pted on flat-namespace accounts (apache#40406) ### Rationale for this change To guide users that might try to `Move` on accounts without HNS. ### What changes are included in this PR? The rewrite of the error message. ### Are these changes tested? Covered by existing tests. * GitHub Issue: apache#40405 Authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the enhancement requested
Azure Blobs Storage doesn't support renaming of blobs (without downloading and re-uploading the Blob) and offers even less support for atomic rename of multiple blobs.
Users are advised to enable Hierarchical Namespace support [1] if they intend to perform
Move
operations.AzureFileSystem
will automatically detect HNS is enabled and use the Azure Data Lake File System Gen 2 APIs [1] and performMove
operations through that. Then even directories can be moved (something that even the ArrowS3FileSystem
doesn't support at the moment).Before giving up, I started the work in [2]. If anyone wants to implement just blob Move or directory Move, I recommend cloning the branch and continuing the work from there.
[1] https://learn.microsoft.com/en-gb/azure/storage/blobs/data-lake-storage-namespace
[2] #40025
Component(s)
C++
The text was updated successfully, but these errors were encountered: