UniformIntGenerator: IllegalArgumentException: n must be positive

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

UniformIntGenerator: IllegalArgumentException: n must be positive

jburwell
All,

During the execution of Stage 4 of the attached configuration (read 300 1 GB objects w/ 10 workers from S3), the following exception is occurring on 3 out of 5 worker nodes:

2013-11-14 23:15:10,841 [ERROR] [AbstractAgent] - unexpected exception
java.lang.IllegalArgumentException: n must be positive
        at java.util.Random.nextInt(Random.java:300)
        at org.apache.commons.lang.math.RandomUtils.nextInt(RandomUtils.java:88)
        at com.intel.cosbench.driver.random.UniformIntGenerator.next(UniformIntGenerator.java:57)
        at com.intel.cosbench.driver.random.NumericNameGenerator.next(NumericNameGenerator.java:59)
        at com.intel.cosbench.driver.util.ObjectPicker.pickObjPath(ObjectPicker.java:68)
        at com.intel.cosbench.driver.operator.Reader.operate(Reader.java:65)
        at com.intel.cosbench.driver.operator.AbstractOperator.operate(AbstractOperator.java:71)
        at com.intel.cosbench.driver.agent.WorkAgent.performOperation(WorkAgent.java:175)
        at com.intel.cosbench.driver.agent.WorkAgent.doWork(WorkAgent.java:161)
        at com.intel.cosbench.driver.agent.WorkAgent.execute(WorkAgent.java:118)
        at com.intel.cosbench.driver.agent.AbstractAgent.call(AbstractAgent.java:44)
        at com.intel.cosbench.driver.agent.AbstractAgent.call(AbstractAgent.java:1)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)

We are running COSBench version 0.3.3.0b3 with 1 controller node and 5 worker nodes.  Is there something in our configuration that is causing this exception to occur?

Thank you for your assistance,
-John



Read-Workload-1GB-2013-10-14_10-26-05.redacted.xml (4K) Download Attachment
signature.asc (506 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: UniformIntGenerator: IllegalArgumentException: n must be positive

ywang19
Administrator
what happens after tried with 0.3.3.0 final version (downloadable from github releases)?