diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java index 4b521e13771..d84ea5ba747 100644 --- a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java +++ b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java @@ -553,7 +553,7 @@ public class AzureBlobFileSystem extends FileSystem { throws IOException { LOG.debug( "AzureBlobFileSystem.setOwner path: {}", path); - if (!getIsNamespaceEnabeld()) { + if (!getIsNamespaceEnabled()) { super.setOwner(path, owner, group); return; } @@ -584,7 +584,7 @@ public class AzureBlobFileSystem extends FileSystem { public void setPermission(final Path path, final FsPermission permission) throws IOException { LOG.debug("AzureBlobFileSystem.setPermission path: {}", path); - if (!getIsNamespaceEnabeld()) { + if (!getIsNamespaceEnabled()) { super.setPermission(path, permission); return; } @@ -619,7 +619,7 @@ public class AzureBlobFileSystem extends FileSystem { throws IOException { LOG.debug("AzureBlobFileSystem.modifyAclEntries path: {}", path.toString()); - if (!getIsNamespaceEnabeld()) { + if (!getIsNamespaceEnabled()) { throw new UnsupportedOperationException( "modifyAclEntries is only supported by storage accounts with the " + "hierarchical namespace enabled."); @@ -653,7 +653,7 @@ public class AzureBlobFileSystem extends FileSystem { throws IOException { LOG.debug("AzureBlobFileSystem.removeAclEntries path: {}", path); - if (!getIsNamespaceEnabeld()) { + if (!getIsNamespaceEnabled()) { throw new UnsupportedOperationException( "removeAclEntries is only supported by storage accounts with the " + "hierarchical namespace enabled."); @@ -683,7 +683,7 @@ public class AzureBlobFileSystem extends FileSystem { public void removeDefaultAcl(final Path path) throws IOException { LOG.debug("AzureBlobFileSystem.removeDefaultAcl path: {}", path); - if (!getIsNamespaceEnabeld()) { + if (!getIsNamespaceEnabled()) { throw new UnsupportedOperationException( "removeDefaultAcl is only supported by storage accounts with the " + "hierarchical namespace enabled."); @@ -711,7 +711,7 @@ public class AzureBlobFileSystem extends FileSystem { public void removeAcl(final Path path) throws IOException { LOG.debug("AzureBlobFileSystem.removeAcl path: {}", path); - if (!getIsNamespaceEnabeld()) { + if (!getIsNamespaceEnabled()) { throw new UnsupportedOperationException( "removeAcl is only supported by storage accounts with the " + "hierarchical namespace enabled."); @@ -742,7 +742,7 @@ public class AzureBlobFileSystem extends FileSystem { throws IOException { LOG.debug("AzureBlobFileSystem.setAcl path: {}", path); - if (!getIsNamespaceEnabeld()) { + if (!getIsNamespaceEnabled()) { throw new UnsupportedOperationException( "setAcl is only supported by storage accounts with the hierarchical " + "namespace enabled."); @@ -773,7 +773,7 @@ public class AzureBlobFileSystem extends FileSystem { public AclStatus getAclStatus(final Path path) throws IOException { LOG.debug("AzureBlobFileSystem.getAclStatus path: {}", path.toString()); - if (!getIsNamespaceEnabeld()) { + if (!getIsNamespaceEnabled()) { throw new UnsupportedOperationException( "getAclStatus is only supported by storage account with the " + "hierarchical namespace enabled."); @@ -1005,7 +1005,7 @@ public class AzureBlobFileSystem extends FileSystem { } @VisibleForTesting - boolean getIsNamespaceEnabeld() throws AzureBlobFileSystemException { + boolean getIsNamespaceEnabled() throws AzureBlobFileSystemException { return abfsStore.getIsNamespaceEnabled(); } diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemAuthorization.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemAuthorization.java index 17055169773..d73f5348d4a 100644 --- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemAuthorization.java +++ b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemAuthorization.java @@ -203,7 +203,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testSetOwnerAuthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_ONLY_FILE_PATH_0).close(); fs.setOwner(TEST_WRITE_ONLY_FILE_PATH_0, "testUser", "testGroup"); } @@ -211,7 +211,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testSetOwnerUnauthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_THEN_READ_ONLY_PATH).close(); intercept(AbfsAuthorizationException.class, ()-> { @@ -222,7 +222,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testSetPermissionAuthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_ONLY_FILE_PATH_0).close(); fs.setPermission(TEST_WRITE_ONLY_FILE_PATH_0, new FsPermission(FsAction.ALL, FsAction.NONE, FsAction.NONE)); } @@ -230,7 +230,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testSetPermissionUnauthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_THEN_READ_ONLY_PATH).close(); intercept(AbfsAuthorizationException.class, ()-> { @@ -241,7 +241,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testModifyAclEntriesAuthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_ONLY_FILE_PATH_0).close(); List aclSpec = Arrays.asList(aclEntry(ACCESS, GROUP, "bar", FsAction.ALL)); fs.modifyAclEntries(TEST_WRITE_ONLY_FILE_PATH_0, aclSpec); @@ -250,7 +250,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testModifyAclEntriesUnauthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_THEN_READ_ONLY_PATH).close(); List aclSpec = Arrays.asList(aclEntry(ACCESS, GROUP, "bar", FsAction.ALL)); intercept(AbfsAuthorizationException.class, @@ -262,7 +262,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testRemoveAclEntriesAuthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_ONLY_FILE_PATH_0).close(); List aclSpec = Arrays.asList(aclEntry(ACCESS, GROUP, "bar", FsAction.ALL)); fs.removeAclEntries(TEST_WRITE_ONLY_FILE_PATH_0, aclSpec); @@ -271,7 +271,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testRemoveAclEntriesUnauthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_THEN_READ_ONLY_PATH).close(); List aclSpec = Arrays.asList(aclEntry(ACCESS, GROUP, "bar", FsAction.ALL)); intercept(AbfsAuthorizationException.class, @@ -283,7 +283,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testRemoveDefaultAclAuthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_ONLY_FILE_PATH_0).close(); fs.removeDefaultAcl(TEST_WRITE_ONLY_FILE_PATH_0); } @@ -291,7 +291,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testRemoveDefaultAclUnauthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_THEN_READ_ONLY_PATH).close(); intercept(AbfsAuthorizationException.class, ()-> { @@ -302,7 +302,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testRemoveAclAuthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_ONLY_FILE_PATH_0).close(); fs.removeAcl(TEST_WRITE_ONLY_FILE_PATH_0); } @@ -310,7 +310,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testRemoveAclUnauthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_THEN_READ_ONLY_PATH).close(); intercept(AbfsAuthorizationException.class, ()-> { @@ -321,7 +321,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testSetAclAuthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_ONLY_FILE_PATH_0).close(); List aclSpec = Arrays.asList(aclEntry(ACCESS, GROUP, "bar", FsAction.ALL)); fs.setAcl(TEST_WRITE_ONLY_FILE_PATH_0, aclSpec); @@ -330,7 +330,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testSetAclUnauthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_THEN_READ_ONLY_PATH).close(); List aclSpec = Arrays.asList(aclEntry(ACCESS, GROUP, "bar", FsAction.ALL)); intercept(AbfsAuthorizationException.class, @@ -342,7 +342,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testGetAclStatusAuthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_THEN_READ_ONLY_PATH).close(); List aclSpec = Arrays.asList(aclEntry(ACCESS, GROUP, "bar", FsAction.ALL)); fs.getAclStatus(TEST_WRITE_THEN_READ_ONLY_PATH); @@ -351,7 +351,7 @@ public class ITestAzureBlobFileSystemAuthorization extends AbstractAbfsIntegrati @Test public void testGetAclStatusUnauthorized() throws Exception { final AzureBlobFileSystem fs = getFileSystem(); - assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabeld()); + assumeTrue("This test case only runs when namespace is enabled", fs.getIsNamespaceEnabled()); fs.create(TEST_WRITE_ONLY_FILE_PATH_0).close(); List aclSpec = Arrays.asList(aclEntry(ACCESS, GROUP, "bar", FsAction.ALL)); intercept(AbfsAuthorizationException.class, diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemBackCompat.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemBackCompat.java index d8940f7d753..22d4990cc42 100644 --- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemBackCompat.java +++ b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemBackCompat.java @@ -45,7 +45,7 @@ public class ITestAzureBlobFileSystemBackCompat extends public void testBlobBackCompat() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); // test only valid for non-namespace enabled account - Assume.assumeFalse(fs.getIsNamespaceEnabeld()); + Assume.assumeFalse(fs.getIsNamespaceEnabled()); String storageConnectionString = getBlobConnectionString(); CloudStorageAccount storageAccount = CloudStorageAccount.parse(storageConnectionString); CloudBlobClient blobClient = storageAccount.createCloudBlobClient(); diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemPermission.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemPermission.java index bbb2e240bee..257fb4fdbd2 100644 --- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemPermission.java +++ b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemPermission.java @@ -76,7 +76,7 @@ public class ITestAzureBlobFileSystemPermission extends AbstractAbfsIntegrationT public void testFilePermission() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - Assume.assumeTrue(fs.getIsNamespaceEnabeld()); + Assume.assumeTrue(fs.getIsNamespaceEnabled()); fs.getConf().set(CommonConfigurationKeys.FS_PERMISSIONS_UMASK_KEY, DEFAULT_UMASK_VALUE); path = new Path(testRoot, UUID.randomUUID().toString()); @@ -92,7 +92,7 @@ public class ITestAzureBlobFileSystemPermission extends AbstractAbfsIntegrationT @Test public void testFolderPermission() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - Assume.assumeTrue(fs.getIsNamespaceEnabeld()); + Assume.assumeTrue(fs.getIsNamespaceEnabled()); fs.getConf().set(CommonConfigurationKeys.FS_PERMISSIONS_UMASK_KEY, "027"); path = new Path(testRoot, UUID.randomUUID().toString()); diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemRandomRead.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemRandomRead.java index 38e7133ed8e..768f4bbc5d9 100644 --- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemRandomRead.java +++ b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemRandomRead.java @@ -525,7 +525,7 @@ public class ITestAzureBlobFileSystemRandomRead extends private void createTestFile() throws Exception { final AzureBlobFileSystem abFs = this.getFileSystem(); // test only valid for non-namespace enabled account - Assume.assumeFalse(abFs.getIsNamespaceEnabeld()); + Assume.assumeFalse(abFs.getIsNamespaceEnabled()); FileSystem fs = this.getWasbFileSystem(); if (fs.exists(TEST_FILE_PATH)) { diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFilesystemAcl.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFilesystemAcl.java index acafe03be0d..7377132e2a0 100644 --- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFilesystemAcl.java +++ b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFilesystemAcl.java @@ -80,7 +80,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testModifyAclEntries() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.mkdirs(path, FsPermission.createImmutable((short) RWX_RX)); @@ -113,7 +113,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testModifyAclEntriesOnlyAccess() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -137,7 +137,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testModifyAclEntriesOnlyDefault() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -160,7 +160,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testModifyAclEntriesMinimal() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -178,7 +178,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testModifyAclEntriesMinimalDefault() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -198,7 +198,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testModifyAclEntriesCustomMask() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -217,7 +217,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testModifyAclEntriesStickyBit() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) 01750)); List aclSpec = Lists.newArrayList( @@ -247,7 +247,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test(expected=FileNotFoundException.class) public void testModifyAclEntriesPathNotFound() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); // Path has not been created. List aclSpec = Lists.newArrayList( @@ -261,7 +261,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test (expected=Exception.class) public void testModifyAclEntriesDefaultOnFile() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -273,7 +273,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclEntries() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -301,7 +301,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclEntriesOnlyAccess() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -326,7 +326,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclEntriesOnlyDefault() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -353,7 +353,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclEntriesMinimal() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RWX_RW)); @@ -376,7 +376,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclEntriesMinimalDefault() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -404,7 +404,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclEntriesStickyBit() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) 01750)); List aclSpec = Lists.newArrayList( @@ -432,7 +432,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test(expected=FileNotFoundException.class) public void testRemoveAclEntriesPathNotFound() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); // Path has not been created. List aclSpec = Lists.newArrayList( @@ -443,7 +443,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveDefaultAcl() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -465,7 +465,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveDefaultAclOnlyAccess() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -487,7 +487,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveDefaultAclOnlyDefault() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -503,7 +503,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveDefaultAclMinimal() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); fs.removeDefaultAcl(path); @@ -516,7 +516,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveDefaultAclStickyBit() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) 01750)); List aclSpec = Lists.newArrayList( @@ -538,7 +538,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test(expected=FileNotFoundException.class) public void testRemoveDefaultAclPathNotFound() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); // Path has not been created. fs.removeDefaultAcl(path); @@ -547,7 +547,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAcl() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -569,7 +569,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclMinimalAcl() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -583,7 +583,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclStickyBit() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) 01750)); List aclSpec = Lists.newArrayList( @@ -603,7 +603,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclOnlyDefault() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -622,7 +622,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test(expected=FileNotFoundException.class) public void testRemoveAclPathNotFound() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); // Path has not been created. fs.removeAcl(path); @@ -631,7 +631,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetAcl() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -657,7 +657,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetAclOnlyAccess() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -678,7 +678,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetAclOnlyDefault() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -698,7 +698,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetAclMinimal() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R_R)); @@ -722,7 +722,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetAclMinimalDefault() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -742,7 +742,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetAclCustomMask() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -764,7 +764,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetAclStickyBit() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) 01750)); List aclSpec = Lists.newArrayList( @@ -790,7 +790,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test(expected=FileNotFoundException.class) public void testSetAclPathNotFound() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); // Path has not been created. List aclSpec = Lists.newArrayList( @@ -804,7 +804,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test(expected=Exception.class) public void testSetAclDefaultOnFile() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -816,7 +816,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetPermission() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -843,7 +843,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetPermissionOnlyAccess() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); fs.create(path).close(); fs.setPermission(path, FsPermission.createImmutable((short) RW_R)); @@ -865,7 +865,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetPermissionOnlyDefault() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -889,7 +889,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testDefaultAclNewFile() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -909,7 +909,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Ignore // wait umask fix to be deployed public void testOnlyAccessAclNewFile() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -927,7 +927,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Ignore // wait investigation in service public void testDefaultMinimalAclNewFile() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -946,7 +946,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testDefaultAclNewDir() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -973,7 +973,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Ignore // wait umask fix to be deployed public void testOnlyAccessAclNewDir() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -991,7 +991,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Ignore // wait investigation in service public void testDefaultMinimalAclNewDir() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX)); List aclSpec = Lists.newArrayList( @@ -1013,7 +1013,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testDefaultAclNewFileWithMode() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX_RX)); List aclSpec = Lists.newArrayList( @@ -1035,7 +1035,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testDefaultAclNewDirWithMode() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); FileSystem.mkdirs(fs, path, FsPermission.createImmutable((short) RWX_RX_RX)); List aclSpec = Lists.newArrayList( @@ -1059,7 +1059,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testDefaultAclRenamedFile() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); Path dirPath = new Path(path, "dir"); FileSystem.mkdirs(fs, dirPath, FsPermission.createImmutable((short) RWX_RX)); @@ -1081,7 +1081,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testDefaultAclRenamedDir() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); path = new Path(testRoot, UUID.randomUUID().toString()); Path dirPath = new Path(path, "dir"); FileSystem.mkdirs(fs, dirPath, FsPermission.createImmutable((short) RWX_RX)); @@ -1102,7 +1102,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testEnsureAclOperationWorksForRoot() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - assumeTrue(fs.getIsNamespaceEnabeld()); + assumeTrue(fs.getIsNamespaceEnabled()); Path rootPath = new Path("/"); @@ -1127,7 +1127,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetOwnerForNonNamespaceEnabledAccount() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - Assume.assumeTrue(!fs.getIsNamespaceEnabeld()); + Assume.assumeTrue(!fs.getIsNamespaceEnabled()); final Path filePath = new Path(methodName.getMethodName()); fs.create(filePath); @@ -1144,7 +1144,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetPermissionForNonNamespaceEnabledAccount() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - Assume.assumeTrue(!fs.getIsNamespaceEnabeld()); + Assume.assumeTrue(!fs.getIsNamespaceEnabled()); final Path filePath = new Path(methodName.getMethodName()); fs.create(filePath); @@ -1163,7 +1163,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testModifyAclEntriesForNonNamespaceEnabledAccount() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - Assume.assumeTrue(!fs.getIsNamespaceEnabeld()); + Assume.assumeTrue(!fs.getIsNamespaceEnabled()); final Path filePath = new Path(methodName.getMethodName()); fs.create(filePath); try { @@ -1180,7 +1180,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclEntriesEntriesForNonNamespaceEnabledAccount() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - Assume.assumeTrue(!fs.getIsNamespaceEnabeld()); + Assume.assumeTrue(!fs.getIsNamespaceEnabled()); final Path filePath = new Path(methodName.getMethodName()); fs.create(filePath); try { @@ -1197,7 +1197,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveDefaultAclForNonNamespaceEnabledAccount() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - Assume.assumeTrue(!fs.getIsNamespaceEnabeld()); + Assume.assumeTrue(!fs.getIsNamespaceEnabled()); final Path filePath = new Path(methodName.getMethodName()); fs.create(filePath); try { @@ -1211,7 +1211,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testRemoveAclForNonNamespaceEnabledAccount() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - Assume.assumeTrue(!fs.getIsNamespaceEnabeld()); + Assume.assumeTrue(!fs.getIsNamespaceEnabled()); final Path filePath = new Path(methodName.getMethodName()); fs.create(filePath); try { @@ -1225,7 +1225,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testSetAclForNonNamespaceEnabledAccount() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - Assume.assumeTrue(!fs.getIsNamespaceEnabeld()); + Assume.assumeTrue(!fs.getIsNamespaceEnabled()); final Path filePath = new Path(methodName.getMethodName()); fs.create(filePath); try { @@ -1242,7 +1242,7 @@ public class ITestAzureBlobFilesystemAcl extends AbstractAbfsIntegrationTest { @Test public void testGetAclStatusForNonNamespaceEnabledAccount() throws Exception { final AzureBlobFileSystem fs = this.getFileSystem(); - Assume.assumeTrue(!fs.getIsNamespaceEnabeld()); + Assume.assumeTrue(!fs.getIsNamespaceEnabled()); final Path filePath = new Path(methodName.getMethodName()); fs.create(filePath); try { diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestWasbAbfsCompatibility.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestWasbAbfsCompatibility.java index 33a5805ec98..fdf9788c36f 100644 --- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestWasbAbfsCompatibility.java +++ b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestWasbAbfsCompatibility.java @@ -59,7 +59,7 @@ public class ITestWasbAbfsCompatibility extends AbstractAbfsIntegrationTest { // crate file using abfs AzureBlobFileSystem fs = getFileSystem(); // test only valid for non-namespace enabled account - Assume.assumeFalse(fs.getIsNamespaceEnabeld()); + Assume.assumeFalse(fs.getIsNamespaceEnabled()); NativeAzureFileSystem wasb = getWasbFileSystem(); @@ -93,7 +93,7 @@ public class ITestWasbAbfsCompatibility extends AbstractAbfsIntegrationTest { AzureBlobFileSystem abfs = getFileSystem(); // test only valid for non-namespace enabled account - Assume.assumeFalse(abfs.getIsNamespaceEnabeld()); + Assume.assumeFalse(abfs.getIsNamespaceEnabled()); NativeAzureFileSystem wasb = getWasbFileSystem(); @@ -132,7 +132,7 @@ public class ITestWasbAbfsCompatibility extends AbstractAbfsIntegrationTest { AzureBlobFileSystem abfs = getFileSystem(); // test only valid for non-namespace enabled account - Assume.assumeFalse(abfs.getIsNamespaceEnabeld()); + Assume.assumeFalse(abfs.getIsNamespaceEnabled()); NativeAzureFileSystem wasb = getWasbFileSystem(); @@ -166,7 +166,7 @@ public class ITestWasbAbfsCompatibility extends AbstractAbfsIntegrationTest { //create folders AzureBlobFileSystem abfs = getFileSystem(); // test only valid for non-namespace enabled account - Assume.assumeFalse(abfs.getIsNamespaceEnabeld()); + Assume.assumeFalse(abfs.getIsNamespaceEnabled()); NativeAzureFileSystem wasb = getWasbFileSystem();