[
https://issues.apache.org/jira/browse/HDDS-9372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ritesh Shukla updated HDDS-9372:
--------------------------------
Description:
ozone freon ockrw should generate a fixed data pattern that can then be
validated. This will allow for large scale data to be populated and used for
performance as well as testing data integrity over extended duration.
{code:java}
public Void call() throws Exception {
init();
OzoneConfiguration ozoneConfiguration = createOzoneConfiguration();
clientCount = getThreadNo();
ozoneClients = new OzoneClient[clientCount];
for (int i = 0; i < clientCount; i++) {
ozoneClients[i] = createOzoneClient(omServiceID, ozoneConfiguration);
}
ensureVolumeAndBucketExist(ozoneClients[0], volumeName, bucketName);
if (objectSizeInBytes >= 0) {
keyContent = RandomUtils.nextBytes(objectSizeInBytes);
}
{code}
was:ozone freon ockrw should generate a fixed data pattern that can then be
validated. This will allow for large scale data to be populated and used for
performance as well as testing data integrity over extended duration.
> ozone freon ockrw should support predictable data payload
> ---------------------------------------------------------
>
> Key: HDDS-9372
> URL: https://issues.apache.org/jira/browse/HDDS-9372
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Ritesh Shukla
> Priority: Major
>
> ozone freon ockrw should generate a fixed data pattern that can then be
> validated. This will allow for large scale data to be populated and used for
> performance as well as testing data integrity over extended duration.
> {code:java}
> public Void call() throws Exception {
> init();
> OzoneConfiguration ozoneConfiguration = createOzoneConfiguration();
> clientCount = getThreadNo();
> ozoneClients = new OzoneClient[clientCount];
> for (int i = 0; i < clientCount; i++) {
> ozoneClients[i] = createOzoneClient(omServiceID, ozoneConfiguration);
> }
> ensureVolumeAndBucketExist(ozoneClients[0], volumeName, bucketName);
> if (objectSizeInBytes >= 0) {
> keyContent = RandomUtils.nextBytes(objectSizeInBytes);
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]