BlockCountExceedsLimit on azblob when uploading large files #5420
-
Hi, I have a question about uploading large files (>5GB) We use OpenDAL java binding 0.46.3 and I couldn't create an isolated small test. Tried modifying https://learn.microsoft.com/en-us/troubleshoot/azure/azure-storage/blobs/connectivity/invalid-blob-or-block-content-or-invalid-block-list suggested to mitigate that by committing blocks (put block API) Looks like it has been implemented already in #4181 and released in 0.45.1 so version we use (0.46.3) includes it. Is it a bug or I'm missing some configuration parameter for azblob? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, it looks like we didn't expose the opendal/bindings/java/src/operator_output_stream.rs Lines 44 to 52 in e9df3eb Instead, we expose a very small chunk We will need to expose https://docs.rs/opendal/0.50.2/opendal/operator_functions/struct.FunctionWriter.html#method.chunk to java side so that you can configure it to 8MiB or 16MiB instead. |
Beta Was this translation helpful? Give feedback.
Hi, it looks like we didn't expose the
chunk
API to java side:opendal/bindings/java/src/operator_output_stream.rs
Lines 44 to 52 in e9df3eb
Instead, we expose a very small chunk
16KiB
:opendal/bindings/java/src/main/java/org/apache/opendal/OperatorOutputStream.java
Lines 38 to 41 in e9df3eb