fixed MAPREDUCE-6752 issue

This commit is contained in:
Guilherme Gribeler 2017-10-30 00:13:24 -02:00
parent e62bbbca7a
commit 1915e20b0e
1 changed files with 3 additions and 5 deletions

View File

@ -252,11 +252,9 @@ public class DefaultSpeculator extends AbstractService implements
// This interface is intended to be used only for test cases.
public void scanForSpeculations() {
LOG.info("We got asked to run a debug speculation scan.");
// debug
System.out.println("We got asked to run a debug speculation scan.");
System.out.println("There are " + scanControl.size()
+ " events stacked already.");
LOG.debug("We got asked to run a debug speculation scan.");
LOG.debug("There are " + scanControl.size()
+ " events stacked already.");
scanControl.add(new Object());
Thread.yield();
}