srowen commented on a change in pull request #26462: [SPARK-29833][YARN] Add 
FileNotFoundException check for spark.yarn.jars
URL: https://github.com/apache/spark/pull/26462#discussion_r344665895
 
 

 ##########
 File path: 
resource-managers/yarn/src/test/scala/org/apache/spark/deploy/yarn/ClientSuite.scala
 ##########
 @@ -473,6 +473,18 @@ class ClientSuite extends SparkFunSuite with Matchers {
     assert(allResourceInfo.get(yarnMadeupResource).get === 5)
   }
 
+  test("test yarn jars path not exists") {
+    withTempDir { dir =>
+      val conf = new SparkConf().set(SPARK_JARS, Seq(dir.getAbsolutePath + 
"/test"))
+      val client = new Client(new ClientArguments(Array()), conf, null)
+      withTempDir{ distDir =>
 
 Review comment:
   Nit: space before brace

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to