From 77243350e0401f8fa308d92eec25f9fbfd557824 Mon Sep 17 00:00:00 2001 From: Ayush Saxena Date: Fri, 6 Sep 2024 17:18:18 +0530 Subject: [PATCH] Update the comment. --- .../tez/dag/history/logging/proto/DatePartitionedLogger.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tez-plugins/tez-protobuf-history-plugin/src/main/java/org/apache/tez/dag/history/logging/proto/DatePartitionedLogger.java b/tez-plugins/tez-protobuf-history-plugin/src/main/java/org/apache/tez/dag/history/logging/proto/DatePartitionedLogger.java index 69c1c41151..ee838646fb 100644 --- a/tez-plugins/tez-protobuf-history-plugin/src/main/java/org/apache/tez/dag/history/logging/proto/DatePartitionedLogger.java +++ b/tez-plugins/tez-protobuf-history-plugin/src/main/java/org/apache/tez/dag/history/logging/proto/DatePartitionedLogger.java @@ -76,7 +76,8 @@ private void createDirIfNotExists(Path path) throws IOException { try { fileStatus = fileSystem.getFileStatus(path); } catch (FileNotFoundException fnf) { - // ignore + // ignore: regardless of the outcome of FileSystem.getFileStatus call (exception or returning null), + // we handle the fileStatus == null case later on, so it's safe to ignore this exception now } try { if (fileStatus == null) {