Attila Doroszlai created HDDS-10084:
---------------------------------------
Summary: Replace LEGACY in integration test with default layout
from config
Key: HDDS-10084
URL: https://issues.apache.org/jira/browse/HDDS-10084
Project: Apache Ozone
Issue Type: Sub-task
Components: test
Reporter: Attila Doroszlai
Assignee: Ethan Rose
(reported in
[comment|https://issues.apache.org/jira/browse/HDDS-10078?focusedCommentId=17803736&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17803736]
on HDDS-10078):
Replace {{BucketLayout.LEGACY}} with the configured default bucket layout here:
{code:title=https://github.com/apache/ozone/blob/48ea0bb94b22cb9584de3c2b1d6757d1d1f64969/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestDataUtil.java#L142-L145}
public static OzoneBucket createVolumeAndBucket(OzoneClient client)
throws IOException {
return createVolumeAndBucket(client, BucketLayout.LEGACY);
}
{code}
and similarly here:
{code:title=https://github.com/apache/ozone/blob/48ea0bb94b22cb9584de3c2b1d6757d1d1f64969/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/TestDataUtil.java#L52-L55}
public static OzoneBucket createVolumeAndBucket(OzoneClient client,
String volumeName, String bucketName) throws IOException {
return createVolumeAndBucket(client, volumeName, bucketName,
BucketLayout.LEGACY);
{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]