dongjoon-hyun commented on a change in pull request #28550:
URL: https://github.com/apache/spark/pull/28550#discussion_r426112707
##########
File path:
resource-managers/yarn/src/test/scala/org/apache/spark/deploy/yarn/ClientSuite.scala
##########
@@ -245,7 +246,8 @@ class ClientSuite extends SparkFunSuite with Matchers {
request.setApplicationSubmissionContext(subContext)
val rmContext = mock(classOf[RMContext])
- val conf = mock(classOf[Configuration])
+ val conf = new Configuration
+ conf.set("yarn.timeline-service.enabled", "false")
Review comment:
This is a workaround for another NPE in Hadoop source 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]