You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "MaxGekk (via GitHub)" <gi...@apache.org> on 2023/07/05 10:27:56 UTC

[GitHub] [spark] MaxGekk commented on a diff in pull request #41575: [SPARK-38477][CORE] Use error class in org.apache.spark.shuffle

MaxGekk commented on code in PR #41575:
URL: https://github.com/apache/spark/pull/41575#discussion_r1252899647


##########
core/src/main/scala/org/apache/spark/errors/SparkCoreErrors.scala:
##########
@@ -467,6 +467,15 @@ private[spark] object SparkCoreErrors {
         "receivedBytes" -> receivedBytes.toString).asJava)
   }
 
+  def failedRenameTempFileError(srcFile: File, dstFile: File): Throwable = {
+    new SparkException(
+      errorClass = "_LEGACY_ERROR_TEMP_2199",

Review Comment:
   Can't you re-using the existing one `FAILED_RENAME_PATH`?



-- 
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-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org