anishshri-db commented on code in PR #49796: URL: https://github.com/apache/spark/pull/49796#discussion_r1951863044
########## common/utils/src/main/java/org/apache/spark/network/util/JavaUtils.java: ########## @@ -181,6 +183,8 @@ private static void deleteRecursivelyUsingUnixNative(File file) throws IOExcepti process = builder.start(); exitCode = process.waitFor(); + } catch (InterruptedException e) { + throw e; // Specifically rethrow InterruptedException Review Comment: nit: can we add a comment to explain why this is necessary ? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org