question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot execute YCSB

See original GitHub issue

Hello, 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:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

1reaction
busbeycommented, May 19, 2018

#908 has merged now. would you mind trying again?

0reactions
busbeycommented, Jun 14, 2018

closing as stale. if you’re still having trouble please reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to run YCSB for HBase - Cloudera Community - 307660
Here we demonstrate how to run YCSB workloads for HBase performance testing. The YCSB benchmarking toolkit is available here. Download YCSB.
Read more >
Newest 'ycsb' Questions - Stack Overflow
I am new to Cassandra and YCSB and trying to run benchmarking on the 3 node cassandra cluster which is built through docker-compose...
Read more >
How To Benchmark MongoDB With YCSB? - ScaleGrid
Guide to setup, configure, run and benchmark YCSB tests on MongoDB/DBaaS providers.
Read more >
The Ultimate YCSB Benchmark Guide (2021) - benchANT
Cloud Serving Benchmarking (YCSB) is the most well-known NoSQL benchmark suite. This guide provides you with all relevant and up-to-date information about the ......
Read more >
YCSB (NoSQL benchmark) on Oracle Database - dbi Blog
This open source YCSB (Yahoo Cloud Serving Benchmark), ... But the important message is that you cannot run a benchmark without looking at ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found