Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20761#discussion_r189416093
--- Diff:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
---
@@ -249,6 +259,8 @@ private[spark] class Client(
val capability = Records.newRecord(classOf[Resource])
capability.setMemory(amMemory + amMemoryOverhead)
capability.setVirtualCores(amCores)
+
ResourceTypeHelper.setResourceInfoFromResourceTypes(driverResourceTypes,
capability)
--- End diff --
Only call if there are resources defined. Otherwise this will print noisy
logs for people who are not using the feature.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]