MaxGekk commented on code in PR #41575:
URL: https://github.com/apache/spark/pull/41575#discussion_r1231944151
##########
core/src/main/scala/org/apache/spark/shuffle/IndexShuffleBlockResolver.scala:
##########
@@ -263,7 +264,8 @@ private[spark] class IndexShuffleBlockResolver(
file.delete()
}
if (!fileTmp.renameTo(file)) {
- throw new IOException(s"fail to rename file ${fileTmp} to ${file}")
+ throw SparkException.internalError(
Review Comment:
@bozhang2820 Are you sure that IO errors should be considered as internal
errors? Users can face to them in real life, I guess.
--
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]