1
0

[HUDI-2097] Fix Flink unable to read commit metadata error (#3180)

This commit is contained in:
swuferhong
2021-06-29 22:43:47 +08:00
committed by GitHub
parent b8a8f572d6
commit 5a7d1b3d6c

View File

@@ -157,10 +157,10 @@ public class WriteProfiles {
// make this fail safe.
LOG.warn("Instant {} was deleted by the cleaner, ignore", instant.getTimestamp());
return Option.empty();
} catch (IOException e) {
} catch (Throwable throwable) {
LOG.error("Get write metadata for table {} with instant {} and path: {} error",
tableName, instant.getTimestamp(), basePath);
throw new HoodieException(e);
return Option.empty();
}
}