You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by GitBox <gi...@apache.org> on 2021/09/17 09:35:19 UTC

[GitHub] [incubator-kyuubi] pan3793 commented on a change in pull request #1119: [KYUUBI #1039] kill yarn job when engine initialize timeout and yarnApplicationState is ACCEPTED

pan3793 commented on a change in pull request #1119:
URL: https://github.com/apache/incubator-kyuubi/pull/1119#discussion_r710906714



##########
File path: kyuubi-server/src/test/scala/org/apache/kyuubi/engine/spark/SparkProcessBuilderSuite.scala
##########
@@ -225,6 +226,17 @@ class SparkProcessBuilderSuite extends KerberizedTestHelper {
     val b2 = new SparkProcessBuilder("test", conf)
     assert(b2.mainResource.getOrElse("") != jarPath.toString)
   }
+
+  test("test kill application") {
+    val config = KyuubiConf()
+    val pb = new FakeSparkProcessBuilder(config)
+    val regex = Pattern.compile("application_\\d+_\\d+")

Review comment:
       Use `APPLICATION_REGEX`




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

To unsubscribe, e-mail: commits-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org