JoshRosen commented on code in PR #37027:
URL: https://github.com/apache/spark/pull/37027#discussion_r910516312
##########
core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:
##########
@@ -750,15 +751,15 @@ private[spark] object JsonProtocol {
def executorResourceRequestFromJson(json: JValue): ExecutorResourceRequest =
{
val rName = (json \ "Resource Name").extract[String]
- val amount = (json \ "Amount").extract[Int]
+ val amount = (json \ "Amount").extract[Long]
Review Comment:
`amount` is defined as a long at
https://github.com/apache/spark/blob/29258964cae45cea43617ade971fb4ea9fe2902a/core/src/main/scala/org/apache/spark/resource/ExecutorResourceRequest.scala#L52-L58
--
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]