Github user holdenk commented on a diff in the pull request: https://github.com/apache/spark/pull/21977#discussion_r212760057 --- Diff: resource-managers/yarn/src/test/scala/org/apache/spark/deploy/yarn/BaseYarnClusterSuite.scala --- @@ -161,6 +162,11 @@ abstract class BaseYarnClusterSuite } extraJars.foreach(launcher.addJar) + if (outFile.isDefined) { --- End diff -- If you do a foreach then the `.get` goes away and the code could be a little cleaner, but it's pretty minor.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org