Review Board 1.7.22


numFlushThreads is 0 when doing a single worker unittest. Changing the minimum to 1.

Review Request #2322 - Created Oct. 10, 2011 and submitted

Avery Ching
trunk
GIRAPH-48
Reviewers
giraph
giraph
9 unittests failed due to 

java.lang.IllegalArgumentException
	at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:589)
	at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:480)
	at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:59)
	at org.apache.giraph.comm.BasicRPCCommunications.<init>(BasicRPCCommunications.java:375)
	at org.apache.giraph.comm.RPCCommunications.<init>(RPCCommunications.java:68)
	at org.apache.giraph.graph.GraphMapper.map(GraphMapper.java:571)
	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:763)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:369)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:210)

The issue is that with only a single worker, the ThreadpoolExecutor fails because of having 0 threads as an argument.
Passed unittests.