cxzl25 commented on issue #5104: URL: https://github.com/apache/kyuubi/issues/5104#issuecomment-1759549351
It looks like UT occasionally fails because we submit a batch job, but perform a kill before we start running. https://github.com/apache/kyuubi/blob/74e52f6924b8bd6a106925673c215383c0d50cf7/kyuubi-server/src/test/scala/org/apache/kyuubi/server/api/v1/BatchesResourceSuite.scala#L748-L773 ``` 11:57:22.284 KyuubiRestFrontendService-8213 WARN BatchesResource: duplicated submission: e70b16a6-f77b-4554-823e-edb4c9c38739, ignore and return the existing batch. 11:57:22.318 kyuubi-batch-submitter: Thread-8204 INFO KyuubiBatchService: e70b16a6-f77b-4554-823e-edb4c9c38739 is picked for submission. 11:57:22.322 KyuubiRestFrontendService-8213 WARN BatchesResource: Something wrong on deleting batch[e70b16a6-f77b-4554-823e-edb4c9c38739], try forcibly killing application 11:57:22.569 KyuubiSessionManager-exec-pool: Thread-8938 INFO ProcBuilder: Logging to /home/runner/work/kyuubi/kyuubi/kyuubi-server/target/work/anonymous/kyuubi-spark-batch-submit.log.8 11:57:22.569 KyuubiSessionManager-exec-pool: Thread-8938 INFO BatchJobSubmission: Submitting SPARK batch[e70b16a6-f77b-4554-823e-edb4c9c38739] job: /home/runner/work/kyuubi/kyuubi/externals/kyuubi-download/target/spark-3.3.3-bin-hadoop3/bin/spark-submit \ --class org.apache.spark.examples.SparkPi \ --conf spark.kyuubi.batch.id=e70b16a6-f77b-4554-823e-edb4c9c38739 \ --conf spark.kyuubi.batch.resource.uploaded=false \ --conf spark.kyuubi.client.ipAddress=127.0.0.1 \ --conf spark.kyuubi.engine.engineLog.path=/home/runner/work/kyuubi/kyuubi/kyuubi-server/target/work/anonymous/kyuubi-spark-batch-submit.log.8 \ --conf spark.kyuubi.server.ipAddress=localhost \ --conf spark.kyuubi.session.connection.url=localhost:39727 \ --conf spark.kyuubi.session.real.user=anonymous \ --conf spark.app.name=Spark Pi \ --conf spark.kubernetes.driver.label.kyuubi-unique-tag=e70b16a6-f77b-4554-823e-edb4c9c38739 \ --conf spark.master=local \ --conf spark.yarn.tags=KYUUBI,e70b16a6-f77b-4554-823e-edb4c9c38739 \ --proxy-user anonymous /home/runner/work/kyuubi/kyuubi/externals/kyuubi-download/target/spark-3.3.3-bin-hadoop3/examples/jars/spark-examples_2.12-3.3.3.jar 11:57:22.579 KyuubiRestFrontendService-8213 INFO BatchesResource: Mark batch[e70b16a6-f77b-4554-823e-edb4c9c38739] closed by localhost:39727 11:57:22.855 KyuubiSessionManager-exec-pool: Thread-8938 INFO BatchJobSubmission: Processing anonymous's query[7ebaf82c-8ce1-411d-af64-46d7316c69c7]: PENDING_STATE -> RUNNING_STATE, statement: BatchJobSubmission ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
