|
@@ -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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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<AclEntry> 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 {
|