rakeshadr commented on a change in pull request #2730:
URL: https://github.com/apache/ozone/pull/2730#discussion_r738278946
##########
File path: hadoop-ozone/dist/src/main/smoketest/mapreduce.robot
##########
@@ -24,7 +24,7 @@ Test Timeout 4 minute
*** Variables ***
${SCHEME} o3fs
${volume} volume1
-${bucket} bucket1
+${bucket} mrbucket1
Review comment:
@JyotinderSingh could you tell me the reasoning to modify existing
bucket name to `mrbucket1` . Is this causing test failure ?
##########
File path: hadoop-ozone/dist/src/main/smoketest/createmrenv.robot
##########
@@ -24,15 +24,15 @@ Test Timeout 2 minute
*** Variables ***
${SCHEME} o3fs
${volume} volume1
-${bucket} bucket1
+${bucket} mrbucket1
*** Keywords ***
Create volume
${result} = Execute ozone sh volume create /${volume}
--user hadoop --space-quota 100TB --namespace-quota 100
Should not contain ${result} Failed
Create bucket
- Execute ozone sh bucket create
/${volume}/${bucket}
+ Execute ozone sh bucket create
/${volume}/${bucket} --type FILE_SYSTEM_OPTIMIZED
Review comment:
@JyotinderSingh I believe you have explicitly set `--type
FILE_SYSTEM_OPTIMIZED` to avoid below validation error on the ofs/o3fs client,
right?
```
// Check if bucket layout is valid, OFS buckets cannot be in
// OBJECT_STORE layout
BucketLayout bucketLayout = bucket.getBucketLayout();
if (bucketLayout.equals(BucketLayout.OBJECT_STORE)) {
throw new IllegalArgumentException(bucketLayout + " does not support" +
" file system semantics. Bucket Layout must be " +
BucketLayout.FILE_SYSTEM_OPTIMIZED + " or "
+ BucketLayout.LEGACY);
}
```
--
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]