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

core dependencies not being installed #1684

Open
seankimkdy opened this issue Oct 3, 2023 · 2 comments
Open

core dependencies not being installed #1684

seankimkdy opened this issue Oct 3, 2023 · 2 comments

Comments

@seankimkdy
Copy link

When I run mvn clean package then ./bin/ycsb.sh load basic -P workloads/workloada, I get an error

/usr/bin/java  -classpath /users/seankim/scratch/ycsb/conf:/users/seankim/scratch/ycsb/core/target/core-0.18.0-SNAPSHOT.jar:/users/seankim/scratch/ycsb/core/target/core-0.18.0-SNAPSHOT.jar site.ycsb.Client -t -db site.ycsb.BasicDB -P workloads/workloada
Command line: -t -db site.ycsb.BasicDB -P workloads/workloada
YCSB Client 0.18.0-SNAPSHOT

Loading workload...
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/htrace/core/Tracer$Builder
	at site.ycsb.Client.getTracer(Client.java:458)
	at site.ycsb.Client.main(Client.java:304)
Caused by: java.lang.ClassNotFoundException: org.apache.htrace.core.Tracer$Builder
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
	... 2 more
 (might take a few minutes for large data sets)

However, if I run mvn clean package -Psource-run, everything works. Any reason why?

Version information in case they are relevant.

$ mvn --version
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 11.0.20.1, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.14.0-rc5", arch: "amd64", family: "unix"
$ java -version
openjdk version "11.0.20.1" 2023-08-24
OpenJDK Runtime Environment (build 11.0.20.1+1-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.20.1+1-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
@seankimkdy seankimkdy changed the title core/ dependencies not being installed core dependencies not being installed Oct 3, 2023
@jsyqrt
Copy link

jsyqrt commented Oct 11, 2023

Got same error with master branch

@ZhouXing19
Copy link

ZhouXing19 commented Sep 6, 2024

Same error, any update on this?

Also seems related: #1105

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

No branches or pull requests

3 participants