You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "mrkorchun (via GitHub)" <gi...@apache.org> on 2026/08/07 11:41:18 UTC

[PR] Support LocalFileSystem on Android [arrow-rs-object-store]

mrkorchun opened a new pull request, #826:
URL: https://github.com/apache/arrow-rs-object-store/pull/826

   Closes #459. Supersedes the closed #460 with the requested Linux-testable path.\n\nAndroid app storage rejects hard links with EACCES. This keeps PutMode::Create and CopyMode::Create atomic by copying to a unique staging file and publishing it with renameat2(RENAME_NOREPLACE). CopyMode::Overwrite also stages by byte copy. The current fsync/close-error guarantees are preserved.\n\nA private test-only toggle makes the existing LocalFileSystem integration helpers exercise the Android path on Linux; it adds no public feature.\n\nVerified:\n- cargo check --lib\n- cargo test file_test_without_hard_links\n- the v0.13.2 backport of the same mechanism: native aarch64-linux-android LocalFileSystem suite, 17 passed / 1 ignored


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Support LocalFileSystem on Android [arrow-rs-object-store]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #826:
URL: https://github.com/apache/arrow-rs-object-store/pull/826#issuecomment-6224956479

   Is there a reason a downstream crate can't implement this themselves as `AndroidLocalFileSystem` or something?
   
   I would personally prefer that hte core object_store crate stays pretty focused as I don't have a huge amount of maintenance bandwith. A new 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Support LocalFileSystem on Android [arrow-rs-object-store]

Posted by "mrkorchun (via GitHub)" <gi...@apache.org>.
mrkorchun commented on PR #826:
URL: https://github.com/apache/arrow-rs-object-store/pull/826#issuecomment-5217243241

   Confirmed on the affected device from ordinary Termux, outside PRoot:\n\n- aarch64 Android, kernel 6.6.98\n- Rust host: aarch64-linux-android\n- std::fs::hard_link: EACCES (reproduced)\n- OmniGraph/Lance dataset initialization using the backport: succeeded\n- exit status: 0\n\nThis is an end-to-end confirmation that the renameat2 fallback works where the original hard-link path fails.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org