wangyum commented on a change in pull request #22570: [SPARK-25553][BUILD] Add 
EmptyInterpolatedStringChecker to scalastyle config
URL: https://github.com/apache/spark/pull/22570#discussion_r314648453
 
 

 ##########
 File path: 
core/src/main/scala/org/apache/spark/deploy/rest/StandaloneRestServer.scala
 ##########
 @@ -91,7 +91,7 @@ private[rest] class 
StandaloneStatusRequestServlet(masterEndpoint: RpcEndpointRe
   protected def handleStatus(submissionId: String): SubmissionStatusResponse = 
{
     val response = masterEndpoint.askSync[DeployMessages.DriverStatusResponse](
       DeployMessages.RequestDriverStatus(submissionId))
-    val message = response.exception.map { s"Exception from the cluster:\n" + 
formatException(_) }
+    val message = response.exception.map { "Exception from the cluster:\n" + 
formatException(_) }
 
 Review comment:
   Do you mean?
   ```scala
   val message = response.exception.map { s"Exception from the cluster:\n" + 
formatException(_) }
   ```
   ->
   ```scala
   val message = response.exception.map { s"Exception from the cluster:\n 
${formatException(_)}" }
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to