LuciferYang commented on code in PR #40876:
URL: https://github.com/apache/spark/pull/40876#discussion_r1172470789
##########
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/ResourceRequestHelper.scala:
##########
@@ -152,12 +152,6 @@ private object ResourceRequestHelper extends Logging {
return
}
- if (!isYarnResourceTypesAvailable()) {
- logWarning("Ignoring custom resource requests because " +
- "the version of YARN does not support it!")
- return
- }
-
val resInfoClass = Utils.classForName(RESOURCE_INFO_CLASS)
Review Comment:
Other reflection code in `ResourceRequestHelper` will be cleared in
SPARK-43216
--
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]