From 48a3906cccb6abd04f0a86922f6af3a175d6f7b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=8F=AF=E4=BC=A6?= Date: Tue, 12 Oct 2021 02:07:34 +0800 Subject: [PATCH] [MINOR] Fix typo,'paritition' corrected to 'partition' (#3764) --- .../org/apache/hudi/cli/commands/FileSystemViewCommand.java | 2 +- .../java/org/apache/hudi/config/HoodieHBaseIndexConfig.java | 2 +- .../src/main/java/org/apache/hudi/hive/HiveSyncTool.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java b/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java index d0678fc85..a506c8030 100644 --- a/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java +++ b/hudi-cli/src/main/java/org/apache/hudi/cli/commands/FileSystemViewCommand.java @@ -119,7 +119,7 @@ public class FileSystemViewCommand implements CommandMarker { @CliCommand(value = "show fsview latest", help = "Show latest file-system view") public String showLatestFileSlices( - @CliOption(key = {"partitionPath"}, help = "A valid paritition path", mandatory = true) String partition, + @CliOption(key = {"partitionPath"}, help = "A valid partition path", mandatory = true) String partition, @CliOption(key = {"baseFileOnly"}, help = "Only display base file view", unspecifiedDefaultValue = "false") boolean baseFileOnly, @CliOption(key = {"maxInstant"}, help = "File-Slices upto this instant are displayed", diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieHBaseIndexConfig.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieHBaseIndexConfig.java index 7d048d53b..561460777 100644 --- a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieHBaseIndexConfig.java +++ b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieHBaseIndexConfig.java @@ -148,7 +148,7 @@ public class HoodieHBaseIndexConfig extends HoodieConfig { .defaultValue(false) .withDocumentation("Only applies if index type is HBASE. " + "When an already existing record is upserted to a new partition compared to whats in storage, " - + "this config when set, will delete old record in old paritition " + + "this config when set, will delete old record in old partition " + "and will insert it as new record in new partition."); public static final ConfigProperty ROLLBACK_SYNC_ENABLE = ConfigProperty diff --git a/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncTool.java b/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncTool.java index 4ffb52eaa..6a1d930c5 100644 --- a/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncTool.java +++ b/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/HiveSyncTool.java @@ -321,7 +321,7 @@ public class HiveSyncTool extends AbstractSyncTool { } /** - * Syncs the list of storage parititions passed in (checks if the partition is in hive, if not adds it or if the + * Syncs the list of storage partitions passed in (checks if the partition is in hive, if not adds it or if the * partition path does not match, it updates the partition path). */ private void syncPartitions(String tableName, List writtenPartitionsSince) {