viirya edited a comment on pull request #32221:
URL: https://github.com/apache/spark/pull/32221#issuecomment-822023718


   Good point @attilapiros. But maybe we should implement both argumentless and 
`onClose(WatcherException cause)`? At least I think we should log the exception 
like currently we did.
   
   Actually if we don't have cleanup operation to do, maybe we don't need to 
override argumentless one?
   
   > For example here I think the argumentless version should be used instead:
   > 
   > 
https://github.com/apache/spark/blob/a902250e4a6cc88d20097ab356884bc2813edba3/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorPodsWatchSnapshotSource.scala#L61-L65
   > 
   
   


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



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

Reply via email to