FIX: GroupEntitiesSparkJob deletes whole graph outputPath instead of its temporary folder #351

Merged
claudio.atzori merged 2 commits from fix_consistency_missing_rels into beta 2023-10-17 08:40:24 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class GroupEntitiesSparkJob {
conf, conf,
isSparkSessionManaged, isSparkSessionManaged,
spark -> { spark -> {
HdfsSupport.remove(outputPath, spark.sparkContext().hadoopConfiguration()); HdfsSupport.remove(checkpointPath, spark.sparkContext().hadoopConfiguration());
groupEntities(spark, graphInputPath, checkpointPath, outputPath, filterInvisible); groupEntities(spark, graphInputPath, checkpointPath, outputPath, filterInvisible);
}); });
} }