This is an automated email from the ASF dual-hosted git repository.
vbalaji pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 2a823f3 [MINOR]: alter some wrong params which bring fatal exception
2a823f3 is described below
commit 2a823f32ee161d3e366979f2060cb93536e8059d
Author: dengziming <[email protected]>
AuthorDate: Mon Dec 30 20:39:03 2019 +0800
[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 38bd8a7..362a4fb 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<HoodieRecord> recordsSoFar = new ArrayList<>();