wangyum opened a new pull request #30375:
URL: https://github.com/apache/spark/pull/30375


   ### What changes were proposed in this pull request?
   
   This pr fix type mismatch error:
   ```
   [error] 
/home/jenkins/workspace/spark-master-test-sbt-hadoop-2.7-hive-2.3/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocator.scala:320:52:
 type mismatch;
   [error]  found   : Long
   [error]  required: Int
   [error]         Resource.newInstance(resourcesWithDefaults.totalMemMiB, 
resourcesWithDefaults.cores)
   [error]                                                    ^
   [error] one error found
   ```
   
   
   ### Why are the changes needed?
   
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   No
   
   
   ### How was this patch tested?
   
   Existing test.


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to