ivoson commented on code in PR #36716:
URL: https://github.com/apache/spark/pull/36716#discussion_r893568975
##########
core/src/test/scala/org/apache/spark/deploy/JsonProtocolSuite.scala:
##########
@@ -107,11 +107,11 @@ object JsonConstants {
|{"id":"id","starttime":3,"name":"name",
|"cores":0,"user":"%s",
|"memoryperexecutor":1234,
- |"resourcesperexecutor":[{"name":"gpu",
- |"amount":3},{"name":"fpga","amount":3}],
+ |"resourcesperexecutor":[{"name":"fpga",
+ |"amount":3},{"name":"gpu","amount":3}],
Review Comment:
As also mentioned above, this is caused by the sort of custom executor
resources in `ApplicationDescription`
```
def resourceReqsPerExecutor: Seq[ResourceRequirement] =
ResourceUtils.executorResourceRequestToRequirement(
getCustomExecutorResources(defaultProfile).values.toSeq.sortBy(_.resourceName))
```
--
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]