YCSB icon indicating copy to clipboard operation
YCSB copied to clipboard

Do not support mongodb 4

Open 937447974 opened this issue 1 year ago • 2 comments

Loading workload... Starting test. Exception in thread "Thread-3" java.lang.NoClassDefFoundError: com/mongodb/MongoClientURI at site.ycsb.db.MongoDbClient.init(MongoDbClient.java:206) at site.ycsb.DBWrapper.init(DBWrapper.java:86) at site.ycsb.ClientThread.run(ClientThread.java:91) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.ClassNotFoundException: com.mongodb.MongoClientURI at java.net.URLClassLoader.findClass(URLClassLoader.java:387) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:359) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 4 more 2024-11-21 13:40:00:594 0 sec: 0 operations; est completion in 0 second 2024-11-21 13:40:00:596 0 sec: 0 operations; est completion in 106751991167300 days 15 hours

937447974 avatar Nov 21 '24 06:11 937447974

Has this been resolved? Did you find a workaround?

anish-palakurthi avatar Feb 18 '25 23:02 anish-palakurthi

If anyone is having this issue, I found that building from source with maven was the issue. The pre-built version works for mongodb.

anish-palakurthi avatar Feb 23 '25 19:02 anish-palakurthi