From 2a823f32ee161d3e366979f2060cb93536e8059d Mon Sep 17 00:00:00 2001 From: dengziming Date: Mon, 30 Dec 2019 20:39:03 +0800 Subject: [PATCH] [MINOR]: alter some wrong params which bring fatal exception --- hudi-client/src/test/java/HoodieClientExample.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hudi-client/src/test/java/HoodieClientExample.java b/hudi-client/src/test/java/HoodieClientExample.java index 38bd8a7e9..362a4fbf9 100644 --- a/hudi-client/src/test/java/HoodieClientExample.java +++ b/hudi-client/src/test/java/HoodieClientExample.java @@ -95,7 +95,7 @@ public class HoodieClientExample { HoodieWriteConfig cfg = HoodieWriteConfig.newBuilder().withPath(tablePath) .withSchema(HoodieTestDataGenerator.TRIP_EXAMPLE_SCHEMA).withParallelism(2, 2).forTable(tableName) .withIndexConfig(HoodieIndexConfig.newBuilder().withIndexType(IndexType.BLOOM).build()) - .withCompactionConfig(HoodieCompactionConfig.newBuilder().archiveCommitsWith(2, 3).build()).build(); + .withCompactionConfig(HoodieCompactionConfig.newBuilder().archiveCommitsWith(20, 30).build()).build(); HoodieWriteClient client = new HoodieWriteClient(jsc, cfg); List recordsSoFar = new ArrayList<>();