wangzhigang1999 opened a new pull request, #7831:
URL: https://github.com/apache/kyuubi/pull/7831

   ### Why are the changes needed?
   
   A SparkPi batch with `spark.master=local[1]` can finish successfully while 
Kyuubi keeps it `PENDING`. JPS only recognizes the literal `local`, so the 
batch monitor cannot find the process by tag. Recognize Spark's bracketed local 
master forms, including `local[*]` and `local[2,4]`, while keeping 
`local-cluster[...]` outside the JPS handler.
   
   Closes #7830
   
   ### How was this patch tested?
   
   - Ran `JpsApplicationOperationSuite` (3 tests), including the new regression 
for supported and unsupported master strings.
   - Ran `local batch finished before the application is detected` from #7816 
with both batch implementations on Spark 3.5.7. Also reran it with a temporary 
`local[2]` override for each implementation. All four runs reached `FINISHED` 
with no application ID or recorded app start time.
   
   ### Was this patch assisted by generative AI tooling?
   
   Assisted-by: OpenAI Codex (GPT-6)
   


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

Reply via email to