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


##########
common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java:
##########
@@ -208,6 +213,10 @@ protected void serviceInit(Configuration externalConf) 
throws Exception {
 
     boolean stopOnFailure = _conf.getBoolean(STOP_ON_FAILURE_KEY, 
DEFAULT_STOP_ON_FAILURE);
 
+    if (_recoveryPath == null && _conf.getBoolean(INTEGRATION_TESTING, false)) 
{
+      _recoveryPath = new Path(Files.createTempDir().toURI());

Review Comment:
   There is a little difference here. 
   `com.google.common.io.Files.createTempDir` is used instead due to  
SPARK-39102 is not in Spark 3.3, so there is no `createTempDir` method in 
`JavaUtils`



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