LuciferYang commented on code in PR #49357:
URL: https://github.com/apache/spark/pull/49357#discussion_r1903333969


##########
common/utils/src/main/java/org/apache/spark/network/util/JavaUtils.java:
##########
@@ -156,6 +156,18 @@ private static void deleteRecursivelyUsingJavaIO(
     }
   }
 
+  /**
+   * Reads basic attributes of a given file, of return null if an I/O error 
occurs.
+   */
+  private static BasicFileAttributes readFileAttributes(File file) {
+    try {
+      return Files.readAttributes(

Review Comment:
   It's getting a bit late in my time zone, so I need to sleep for 4 hours 
first. 
   
   Let's take a look at the new test results and decide on the next steps. Of 
course, if you think the risk is too high, we can also revert this patch first. 
@dongjoon-hyun  Thanks ~



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to