JoonPark1 commented on PR #7227:
URL: https://github.com/apache/kyuubi/pull/7227#issuecomment-3448963792

   @turboFei. Hey Fei! You are right about the flow of the call-site... 
basically, the polling for status of submitted batch job originates from 
BatchJobSubmission:currentApplicationInfo... However, I don't think my change 
at the level of KubernetesApplicationOperation class calls the method 
BatchJobSumission::updateBatchMetadata. Do you suggest I refactor my change so 
that the update to kyuubi metadata happens through the BatchJobSubmission 
internal method? The alternative call-site flow will be 
BatchJobSumission::updateBatchMetadata() -> 
KyuubiSessionManager::updateMetadata(). I think this way also works as you 
proposed because it also works with relevant fields for Metadata instance 
associated with the specific batch job submission on kyuubi side... Let me know 
what you think.


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