forked from D-Net/dnet-hadoop
FIX: GroupEntitiesSparkJob deletes whole graph outputPath instead of its temporary folder
This commit is contained in:
parent
6cf64d5d8b
commit
0e44b037a5
|
@ -71,7 +71,7 @@ public class GroupEntitiesSparkJob {
|
|||
conf,
|
||||
isSparkSessionManaged,
|
||||
spark -> {
|
||||
HdfsSupport.remove(outputPath, spark.sparkContext().hadoopConfiguration());
|
||||
HdfsSupport.remove(checkpointPath, spark.sparkContext().hadoopConfiguration());
|
||||
groupEntities(spark, graphInputPath, checkpointPath, outputPath, filterInvisible);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue