amaliujia commented on code in PR #40931:
URL: https://github.com/apache/spark/pull/40931#discussion_r1176884611
##########
common/utils/src/main/scala/org/apache/spark/SparkException.scala:
##########
@@ -18,14 +18,13 @@
package org.apache.spark
import java.io.FileNotFoundException
+import java.nio.file.FileAlreadyExistsException
import java.sql.{SQLException, SQLFeatureNotSupportedException}
import java.time.DateTimeException
import java.util.ConcurrentModificationException
import scala.collection.JavaConverters._
-import org.apache.hadoop.fs.FileAlreadyExistsException
Review Comment:
Had a chat offline and we may choose to keep
`SparkFileAlreadyExistsException` inside SparkCore since only server/spark
engine side needs this exception. And then we do not need to add `hadoop`
dependency on the common-utils thus avoid that stuff on Spark Connect.
--
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]