adoroszlai commented on code in PR #8618:
URL: https://github.com/apache/ozone/pull/8618#discussion_r2144741414
##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/Archiver.java:
##########
@@ -37,10 +37,14 @@
import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream;
import org.apache.commons.io.IOUtils;
import org.apache.hadoop.hdds.HddsUtils;
+import org.apache.hadoop.ozone.OzoneConsts;
/** Create and extract archives. */
public final class Archiver {
+ static final int MIN_BUFFER_SIZE = 8 * (int) OzoneConsts.KB; // same as
IOUtils.DEFAULT_BUFFER_SIZE
+ static final int MAX_BUFFER_SIZE = (int) OzoneConsts.MB;
Review Comment:
Thanks @peterxcli for the review.
> Do you plan to make this configurable?
Not planning for now.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]