snvijaya opened a new pull request #2150:
URL: https://github.com/apache/hadoop/pull/2150


   Trigger to call the idempotent code introduced in 
https://issues.apache.org/jira/browse/HADOOP-17137 is incomplete. 
   
   When a request fails at the AbfsRestOperation, an exception is thrown from 
the REST response handling code . HADOOP-17137 was failing to catch it before 
checking the AbfsRestOperation instance status code.
   
   The request retry count was also getting set to 1 even when request wasnt 
re-tired. That has been fixed too.
   
   Tests are added by setting final fields in AbfsClient by reflection and 
mimicking the idempotency check return values to ensure that the trigger 
handles all scenarios.


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