chunyiyang opened a new pull request, #5951:
URL: https://github.com/apache/hadoop/pull/5951

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   By moving `call.setRpcResponse` after 
`call.alignmentContext.receiveResponseState(header)`, it guarantees that router 
sends a response to the client only after receiving the latest stateId from the 
active namenode with fixes the issue.
   
   ### How was this patch tested?
   Before this patch, the mapreduce job failed roughly 1 out of 100 runs. After 
the deployment of this patch, it didn't fail in total  2000 mapreduce jobs.
   
   ### For code changes:
   - [x] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   
   


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