amaliujia commented on PR #38058:
URL: https://github.com/apache/spark/pull/38058#issuecomment-1263910346

   If we ever wish to tackle this, will that make more sense to adopt `Builder` 
pattern that have every place of `new WorkerOffer` to go through such 
`buildWorkerOffer`?
   
   I found 80+ place that use `new WorkerOffer` and they can be converted to 
`WorkerOffer.Builder().addExecutorId().addExecutorData().addHost()....`.


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