mohamadrezarostami opened a new pull request #34331:
URL: https://github.com/apache/spark/pull/34331


   
   
   
   ### What changes were proposed in this pull request?
   After a improvement in SPARK-31486, contributor uses 
'asyncSendToMasterAndForwardReply' method instead of 
'activeMasterEndpoint.askSync' to get the status of driver. Since the driver's 
status is only available inactive master and the 
'asyncSendToMasterAndForwardReply' method iterate over all of the masters, we 
have to handle the response from the backup masters in the client, which the 
developer did not consider in the SPARK-31486 change. So drivers running in 
cluster mode and on a cluster with multi-master affected by this bug. I created 
the patch for this bug and will soon be sent the pull request.
   
   
   ### Why are the changes needed?
   
   We need to find if the response received from a backup master client must 
ignore it.
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   A new filed -message: Option[String]- added to the DriverStatusResponse 
class. 
   
   
   ### How was this patch tested?
   
   


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