Cannot execute YCSB
See original GitHub issueHello, I have some problem executing YCSB.
I have cloned the repository and packaged everything via
mvn clean package
but when I try to run it by
bin/ycsb.sh load basic -P workloads/workloada
it prints
/usr/bin/java -classpath /Users/navolskyi/Desktop/YCSB/conf:/Users/navolskyi/Desktop/YCSB/core/target/core-0.14.0-SNAPSHOT.jar:/Users/navolskyi/Desktop/YCSB/core/target/core-0.14.0-SNAPSHOT.jar com.yahoo.ycsb.Client -load -db com.yahoo.ycsb.BasicDB -P workloads/workloada Command line: -load -db com.yahoo.ycsb.BasicDB -P workloads/workloadaYCSB Client 0.14.0-SNAPSHOT
Loading workload… Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/htrace/core/Tracer$Builder at com.yahoo.ycsb.Client.getTracer(Client.java:902) at com.yahoo.ycsb.Client.main(Client.java:751) Caused by: java.lang.ClassNotFoundException: org.apache.htrace.core.Tracer$Builder at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) … 2 more (might take a few minutes for large data sets)
I am using macOS version 10.13.3 and Maven version 3.5.0.
As far as I can tell the shell script does not include the needed dependencies in the classpath.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7
Top GitHub Comments
#908 has merged now. would you mind trying again?
closing as stale. if you’re still having trouble please reopen.