dongjoon-hyun commented on a change in pull request #28550:
URL: https://github.com/apache/spark/pull/28550#discussion_r426112749
##########
File path:
resource-managers/yarn/src/test/scala/org/apache/spark/deploy/yarn/ClientSuite.scala
##########
@@ -262,7 +264,7 @@ class ClientSuite extends SparkFunSuite with Matchers {
when(appContext.getUnmanagedAM).thenReturn(true)
val rmAppManager = new RMAppManager(rmContext,
- null,
+ mock(classOf[YarnScheduler]),
Review comment:
Without this, NPE occurs at `this.scheduler` in Hadoop code.
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]