adoroszlai opened a new pull request #79: HDDS-2357. Add replication factor option to new Freon tests URL: https://github.com/apache/hadoop-ozone/pull/79 ## What changes were proposed in this pull request? New Freon generators (OCKG and OKG) use fixed replication factor of 3. Sometimes it's useful to be able to test single-node replication. This change proposes to add a command-line option to specify replication factor. https://issues.apache.org/jira/browse/HDDS-2357 ## How was this patch tested? ``` $ ozone freon ockg -t 1 -n 1 -p factor_default $ ozone freon ockg -t 1 -n 1 -p factor_THREE --factor THREE $ ozone freon ockg -t 1 -n 1 -p factor_ONE --factor ONE $ ozone sh key list vol1/bucket1 { "volumeName" : "vol1", "bucketName" : "bucket1", "name" : "factor_ONE/0", "dataSize" : 10240, "creationTime" : 1571908239786, "modificationTime" : 1571908241398, "replicationType" : "RATIS", "replicationFactor" : 1 } { "volumeName" : "vol1", "bucketName" : "bucket1", "name" : "factor_THREE/0", "dataSize" : 10240, "creationTime" : 1571908232929, "modificationTime" : 1571908234605, "replicationType" : "RATIS", "replicationFactor" : 3 } { "volumeName" : "vol1", "bucketName" : "bucket1", "name" : "factor_default/0", "dataSize" : 10240, "creationTime" : 1571908225134, "modificationTime" : 1571908227372, "replicationType" : "RATIS", "replicationFactor" : 3 } ```
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org