You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/08/16 09:31:04 UTC
[GitHub] [spark] wangyum commented on a change in pull request #22570:
[SPARK-25553][BUILD] Add EmptyInterpolatedStringChecker to scalastyle config
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org