1
0

[HUDI-888] fix NullPointerException in HoodieCompactor (#1622)

This commit is contained in:
rolandjohann
2020-05-20 13:22:35 +02:00
committed by GitHub
parent 0dc2fa6172
commit 244d47494e
2 changed files with 19 additions and 8 deletions

View File

@@ -270,7 +270,7 @@ public class SparkMain {
cfg.propsFilePath = propsFilePath;
cfg.configs = configs;
jsc.getConf().set("spark.executor.memory", sparkMemory);
return new HoodieCompactor(cfg).compact(jsc, retry);
return new HoodieCompactor(jsc, cfg).compact(retry);
}
private static int deduplicatePartitionPath(JavaSparkContext jsc, String duplicatedPartitionPath,