rakeshadr commented on code in PR #3296:
URL: https://github.com/apache/ozone/pull/3296#discussion_r849267199


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneShellHA.java:
##########
@@ -963,20 +963,4 @@ public void 
testListVolumeBucketKeyShouldPrintValidJsonArray()
     testVolumes.forEach(vol -> execute(ozoneShell, new String[] {
         "volume", "delete", vol}));
   }
-
-  @Test
-  public void testClientBucketLayoutValidation() throws Exception {
-    String[] args = new String[]{
-        "bucket", "create", "o3://" + omServiceId + "/volume7" + 
"/bucketTest1",
-        "--layout", "LEGACY"
-    };
-    try {
-      execute(ozoneShell, args);
-      Assert.fail("Should throw exception on unsupported bucket layouts!");
-    } catch (Exception e) {
-      GenericTestUtils.assertExceptionContains(
-          "expected one of [FILE_SYSTEM_OPTIMIZED, OBJECT_STORE] ",
-          e);
-    }
-  }

Review Comment:
   @JyotinderSingh I'd like to not to expose LEGACY layout and internally 
defaulting to LEGACY if not given/passed.



-- 
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]

Reply via email to