touchida opened a new pull request #2726:
URL: https://github.com/apache/hadoop/pull/2726


   The PR solves the flakiness of the unit test as follows.
   1. Set dfs.datanode.balance.bandwidthPerSec to 4MB so that an iteration 
could not move any block.
   2. Set maxIdleIteratons to 1 for the iteration to report NO_MOVE_PROGERSS 
when there is not block move.
   3. Assert that the reported status is NO_MOVE_PROGERSS, since a 10MB block 
cannot be moved with 4MB/s bandwidth in 2 seconds (i.e, 4MB/s * 2s = 8MB < 
10MB).


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