Skip to content

Commit

Permalink
[MINOR] fix: typo of block (#6128)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

Fix typo of the block

### Why are the changes needed?

Not `bock`, is `block`

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

CI pass
  • Loading branch information
mchades authored Jan 7, 2025
1 parent 6ad3d3b commit b66ed1f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void startUp() throws Exception {
super.startIntegrationTest();

// This value can be by tune by the user, please change it accordingly.
defaultBockSize = 32 * 1024 * 1024;
defaultBlockSize = 32 * 1024 * 1024;

// This value is 1 for ABS, 3 for GCS, and 1 for S3A.
defaultReplication = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void startUp() throws Exception {
super.startIntegrationTest();

// This value can be by tune by the user, please change it accordingly.
defaultBockSize = 64 * 1024 * 1024;
defaultBlockSize = 64 * 1024 * 1024;

metalakeName = GravitinoITUtils.genRandomName("gvfs_it_metalake");
catalogName = GravitinoITUtils.genRandomName("catalog");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class GravitinoVirtualFileSystemIT extends BaseIT {
protected String schemaName = GravitinoITUtils.genRandomName("schema");
protected GravitinoMetalake metalake;
protected Configuration conf = new Configuration();
protected int defaultBockSize = 128 * 1024 * 1024;
protected int defaultBlockSize = 128 * 1024 * 1024;
protected int defaultReplication = 3;

@BeforeAll
Expand Down Expand Up @@ -483,7 +483,7 @@ public void testGetDefaultBlockSizes() throws IOException {
Assertions.assertTrue(catalog.asFilesetCatalog().filesetExists(filesetIdent));
Path gvfsPath = genGvfsPath(filesetName);
try (FileSystem gvfs = gvfsPath.getFileSystem(conf)) {
assertEquals(defaultBockSize, gvfs.getDefaultBlockSize(gvfsPath));
assertEquals(defaultBlockSize, gvfs.getDefaultBlockSize(gvfsPath));
}

catalog.asFilesetCatalog().dropFileset(filesetIdent);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void startUp() throws Exception {
super.startIntegrationTest();

// This value can be by tune by the user, please change it accordingly.
defaultBockSize = 64 * 1024 * 1024;
defaultBlockSize = 64 * 1024 * 1024;

// The default replication factor is 1.
defaultReplication = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void startUp() throws Exception {
super.startIntegrationTest();

// This value can be by tune by the user, please change it accordingly.
defaultBockSize = 32 * 1024 * 1024;
defaultBlockSize = 32 * 1024 * 1024;

// The value is 1 for S3
defaultReplication = 1;
Expand Down

0 comments on commit b66ed1f

Please sign in to comment.