LeonGao91 commented on pull request #3386:
URL: https://github.com/apache/hadoop/pull/3386#issuecomment-915598330
Thanks @virajjasani for reporting this issue!
Seems like this happens consistently when running the same test multiple
times, but doesn't fail when running it the first time (happy case), like you
mentioned, this can reproduce it consistently:
@Test
public void t1() throws Exception {
testDnRestartWithHardLink();
testDnRestartWithHardLink();
}
Based on this I am not sure if the root cause is the rare race condition you
mentioned. I suspect it is due to the cache behavior when rerun the same code
the replica loading changed a little bit.
I can spend some more time investigating in the next few days. Let's try to
fix this in the unit test itself
--
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]