1
0

Reword confusing message and reducing the severity level

This commit is contained in:
Balaji Varadarajan
2019-06-19 14:15:02 -07:00
committed by vinoth chandar
parent 8223127611
commit 66c7fa2322

View File

@@ -341,7 +341,10 @@ public abstract class HoodieTable<T extends HoodieRecordPayload> implements Seri
.filter(p -> p.endsWith(".parquet")).collect(Collectors.toList());
// Contains list of partially created files. These needs to be cleaned up.
invalidDataPaths.removeAll(validDataPaths);
logger.warn("InValid data paths=" + invalidDataPaths);
if (!invalidDataPaths.isEmpty()) {
logger.info("Removing duplicate data files created due to spark retries before committing. Paths="
+ invalidDataPaths);
}
Map<String, List<Pair<String, String>>> groupByPartition = invalidDataPaths.stream()
.map(dp -> Pair.of(new Path(dp).getParent().toString(), dp))