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

Cannot run YCSB from the source tree. #315

Closed
allanbank opened this issue Jun 22, 2015 · 0 comments · Fixed by #329
Closed

Cannot run YCSB from the source tree. #315

allanbank opened this issue Jun 22, 2015 · 0 comments · Fixed by #329

Comments

@allanbank
Copy link
Collaborator

I am not finding the com.yahoo.ycsb.Client class when I run from the command line out of the source tree

wget https://github.com/brianfrankcooper/YCSB/archive/0.2.0-RC2.tar.gz
tar xzvf 0.2.0-RC2.tar.gz
cd YCSB-0.2.0-RC2/
mvn clean package 
bin/ycsb load -db mongodb -s -P workloads/workloada -threads 10 -p "mongodb.url=mongodb://192.168.1.15:27017/ycsb?w=1&maxPoolSize=10&waitQueueMultiple=10"
java -cp /home/rjmoore/ycsb-testing/YCSB-0.2.0-RC2/mongodb-binding/conf com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.MongoDbClient -db -s -P workloads/workloada -threads 10 -p mongodb.url=mongodb://192.168.1.15:27017/ycsb?w=1&maxPoolSize=10&waitQueueMultiple=10 -load
Error: Could not find or load main class com.yahoo.ycsb.Client
busbey added a commit that referenced this issue Jun 30, 2015
[scripts] clean up runtime classpath.

closes #315
jaricftw pushed a commit to jaricftw/YCSB that referenced this issue Jul 19, 2016
jaricftw pushed a commit to jaricftw/YCSB that referenced this issue Jul 19, 2016
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

Successfully merging a pull request may close this issue.

1 participant