diff --git a/hudi-client/src/test/java/org/apache/hudi/TestCleaner.java b/hudi-client/src/test/java/org/apache/hudi/TestCleaner.java index 47459cd5c..baec87508 100644 --- a/hudi-client/src/test/java/org/apache/hudi/TestCleaner.java +++ b/hudi-client/src/test/java/org/apache/hudi/TestCleaner.java @@ -910,7 +910,7 @@ public class TestCleaner extends TestHoodieClientBase { * Test CLeaner Stat when there are no partition paths. */ @Test - public void testCleaningWithZeroPartitonPaths() throws IOException { + public void testCleaningWithZeroPartitionPaths() throws IOException { HoodieWriteConfig config = HoodieWriteConfig.newBuilder().withPath(basePath).withAssumeDatePartitioning(true) .withCompactionConfig(HoodieCompactionConfig.newBuilder() .withCleanerPolicy(HoodieCleaningPolicy.KEEP_LATEST_COMMITS).retainCommits(2).build()) diff --git a/hudi-client/src/test/java/org/apache/hudi/table/TestCopyOnWriteTable.java b/hudi-client/src/test/java/org/apache/hudi/table/TestCopyOnWriteTable.java index ff61b2f22..84e4e4f9a 100644 --- a/hudi-client/src/test/java/org/apache/hudi/table/TestCopyOnWriteTable.java +++ b/hudi-client/src/test/java/org/apache/hudi/table/TestCopyOnWriteTable.java @@ -416,7 +416,7 @@ public class TestCopyOnWriteTable extends HoodieClientTestHarness { WorkloadProfile profile = new WorkloadProfile(jsc.parallelize(records)); HoodieCopyOnWriteTable.UpsertPartitioner partitioner = (HoodieCopyOnWriteTable.UpsertPartitioner) table.getUpsertPartitioner(profile); - assertEquals("Update record should have gone to the 1 update partiton", 0, partitioner.getPartition( + assertEquals("Update record should have gone to the 1 update partition", 0, partitioner.getPartition( new Tuple2<>(updateRecords.get(0).getKey(), Option.ofNullable(updateRecords.get(0).getCurrentLocation())))); return partitioner; } diff --git a/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestIncrementalFSViewSync.java b/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestIncrementalFSViewSync.java index a55101185..31ff91008 100644 --- a/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestIncrementalFSViewSync.java +++ b/hudi-common/src/test/java/org/apache/hudi/common/table/view/TestIncrementalFSViewSync.java @@ -329,7 +329,7 @@ public class TestIncrementalFSViewSync extends HoodieCommonTestHarness { Assert.assertEquals(State.COMPLETED, view.getLastInstant().get().getState()); Assert.assertEquals(HoodieTimeline.CLEAN_ACTION, view.getLastInstant().get().getAction()); partitions.forEach(p -> { - LOG.info("PARTTITION : " + p); + LOG.info("PARTITION : " + p); LOG.info("\tFileSlices :" + view.getAllFileSlices(p).collect(Collectors.toList())); }); diff --git a/hudi-hive/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java b/hudi-hive/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java index 67cce12cb..7579f86ae 100644 --- a/hudi-hive/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java +++ b/hudi-hive/src/main/java/org/apache/hudi/hive/HoodieHiveClient.java @@ -133,7 +133,7 @@ public class HoodieHiveClient { } /** - * Add the (NEW) partitons to the table. + * Add the (NEW) partitions to the table. */ void addPartitionsToTable(List partitionsToAdd) { if (partitionsToAdd.isEmpty()) {