vanzin commented on issue #23801: [SPARK-26891][YARN] Fixing flaky test in YarnSchedulerBackendSuite URL: https://github.com/apache/spark/pull/23801#issuecomment-464174741 So just remember that I changed that endpoint initialization recently... still think the best way is to avoid the live `SparkContext`, but if that's not possible, one way to fix this would be: ``` private val _driverEndpoint: RpcEndpointRef = _ def driverEndpoint: RpcEndpointRef = _driverEndpointRef ``` And then initialize the endpoint in `start()`, which is not called by the test.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
