Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 GB Object Reads Fail due to IllegalArgumentException #136

Closed
jburwell opened this issue Nov 20, 2013 · 1 comment
Closed

1 GB Object Reads Fail due to IllegalArgumentException #136

jburwell opened this issue Nov 20, 2013 · 1 comment
Milestone

Comments

@jburwell
Copy link
Contributor

Using version 0.3.30b3, reading 1 GB objects from S3 using 10 workers fails with the following stack trace 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)

A redacted version of the test configuration is available at http://pastebin.com/SgTRiTdS.

@ywang19
Copy link
Contributor

ywang19 commented Feb 28, 2014

One NullPointerException has raised before the IllegalArgumentException, which causes -1 is returned.

@ywang19 ywang19 closed this as completed Feb 28, 2014
@ywang19 ywang19 modified the milestone: 0.4.0 May 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants