iamcaoxudong commented on a change in pull request #830: HDDS-1530. Freon
support big files larger than 2GB and add --bufferSize and --validateWrites
options.
URL: https://github.com/apache/hadoop/pull/830#discussion_r285965619
##########
File path:
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/RandomKeyGenerator.java
##########
@@ -136,7 +141,20 @@
description = "Specifies the size of Key in bytes to be created",
defaultValue = "10240"
)
- private int keySize = 10240;
+ private long keySize = 10240;
+
+ @Option(
+ names = "--validateWrites",
+ description = "Specifies whether to validate keys after writtting"
+ )
+ private boolean validateWrites = false;
+
+ @Option(
+ names = "--bufferSize",
+ description = "Specifies the buffer size while writting",
Review comment:
Thanks, I'll correct it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]