xuzifu666 commented on code in PR #9309:
URL: https://github.com/apache/hudi/pull/9309#discussion_r1278291191
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/marker/DirectWriteMarkers.java:
##########
@@ -189,13 +190,12 @@ private Option<Path> create(Path markerPath, boolean
checkIfExists) {
} catch (IOException e) {
throw new HoodieIOException("Failed to make dir " + dirPath, e);
}
- try {
+ try (FSDataOutputStream fsDataOutputStream = fs.create(markerPath, false))
{
if (checkIfExists && fs.exists(markerPath)) {
LOG.warn("Marker Path=" + markerPath + " already exists, cancel
creation");
Review Comment:
ok, i restore it @danny0405
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]