Hi,
I am trying to run the the bench-marking tool YCSB over MongoDB to analyze the performance of MongoDB.
But whenever I'm running the load it gives error. Any idea or suggestion regarding this issue.
I am using the following version of mongodb.
db version v1.8.1, pdfile version 4.5
Sat Sep 15 22:55:41 git version: a429cd4f535b2499cc4130b06ff7c26f41c00f04
Error log --
root@ubuntu:/etc/init.d# /etc/init.d/mongod start
* Starting database MongoDB [ OK ]
root@ubuntu:/etc/init.d# cd /home/rushmila/YCSB/
root@ubuntu:/home/rushmila/YCSB# ./bin/ycsb load mongodb -s -P workloads/workloada
java -cp /home/rushmila/YCSB/build/ycsb.jar:/home/rushmila/YCSB/core/target/core-0.1.4.jar:/home/rushmila/YCSB/hbase/src/main/conf:/home/rushmila/YCSB/voldemort/src/main/conf:/home/rushmila/YCSB/jdbc/src/main/conf:/home/rushmila/YCSB/dynamodb/conf:/home/rushmila/YCSB/gemfire/src/main/conf:/home/rushmila/YCSB/infinispan/src/main/conf:/home/rushmila/YCSB/db/hbase/conf:/home/rushmila/YCSB/db/jdbc/conf:/home/rushmila/YCSB/db/infinispan-5.0/conf:/home/rushmila/YCSB/lib/jackson-core-asl-1.5.2.jar:/home/rushmila/YCSB/lib/jackson-mapper-asl-1.5.2.jar:/home/rushmila/YCSB/nosqldb/src/main/conf com.yahoo.ycsb.Client -db com.yahoo.ycsb.db.MongoDbClient -s -P workloads/workloada -load
YCSB Client 0.1
Command line: -db com.yahoo.ycsb.db.MongoDbClient -s -P workloads/workloada -load
Loading workload...
Starting test.
java.lang.ClassNotFoundException: com.yahoo.ycsb.db.MongoDbClient
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at com.yahoo.ycsb.DBFactory.newDB(Unknown Source)
at com.yahoo.ycsb.Client.main(Unknown Source)
Exception in thread "Thread-1" java.lang.NullPointerException
at com.yahoo.ycsb.ClientThread.run(Unknown Source)
[OVERALL], RunTime(ms), 21.0