Fix thread name: should be master executor not input

This commit is contained in:
Mark DePristo 2012-09-22 13:21:55 -04:00
parent 6a73265a06
commit 10a6b57be6
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ public class NanoScheduler<InputType, MapType, ReduceType> {
runningMapJobSlots = new Semaphore(this.bufferSize);
this.inputExecutor = Executors.newSingleThreadExecutor(new NamedThreadFactory("NS-input-thread-%d"));
this.masterExecutor = Executors.newSingleThreadExecutor(new NamedThreadFactory("NS-input-thread-%d"));
this.masterExecutor = Executors.newSingleThreadExecutor(new NamedThreadFactory("NS-master-thread-%d"));
}
// start timing the time spent outside of the nanoScheduler