brianfrankcooper / YCSB

Yahoo! Cloud Serving Benchmark
Apache License 2.0
4.86k stars 2.22k forks source link

builld error when run rocksdb benchmark #1676

Open gaowayne opened 1 year ago

gaowayne commented 1 year ago

hello expert I just clone latest code and follow your rocsdb guide, it shows me below build error, I believe something is missing.

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/enforcer/enforcer-api/3.0.0-M1/enforcer-api-3.0.0-M1.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.jar
Downloading from central: https://repo.maven.apache.org/maven2/junit/junit/4.11/junit-4.11.jar
Downloading from central: https://repo.maven.apache.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/enforcer/enforcer-rules/3.0.0-M1/enforcer-rules-3.0.0-M1.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.1.0/maven-shared-utils-3.1.0.jar
Downloading from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.5/commons-io-2.5.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar
Downloading from central: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-dependency-tree/2.2/maven-dependency-tree-2.2.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-compat/3.0/maven-compat-3.0.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-beta-6/wagon-provider-api-1.0-beta-6.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for YCSB Root 0.18.0-SNAPSHOT:
[INFO] 
[INFO] YCSB Root .......................................... FAILURE [01:21 min]
[INFO] Core YCSB .......................................... SKIPPED
[INFO] Per Datastore Binding descriptor ................... SKIPPED
[INFO] YCSB Datastore Binding Parent ...................... SKIPPED
[INFO] RocksDB Java Binding ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:22 min
[INFO] Finished at: 2023-05-01T18:55:28+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven) on project root: Execution enforce-maven of goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce failed: Plugin org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2 (absent), org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7 (absent), org.apache.maven:maven-settings:jar:3.0 (absent), org.apache.maven:maven-settings-builder:jar:3.0 (absent), org.apache.maven:maven-model-builder:jar:3.0 (absent), org.apache.maven:maven-aether-provider:jar:3.0 (absent), org.sonatype.aether:aether-impl:jar:1.7 (absent), org.sonatype.aether:aether-spi:jar:1.7 (absent), org.sonatype.aether:aether-api:jar:1.7 (absent), org.sonatype.aether:aether-util:jar:1.7 (absent), org.codehaus.plexus:plexus-interpolation:jar:1.14 (absent), org.codehaus.plexus:plexus-classworlds:jar:2.2.3 (absent), org.codehaus.plexus:plexus-component-annotations:jar:1.6 (absent), org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 (absent), org.sonatype.plexus:plexus-cipher:jar:1.4 (absent), org.codehaus.plexus:plexus-utils:jar:3.0.24 (absent), org.apache.maven.enforcer:enforcer-api:jar:3.0.0-M1 (absent), org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9 (absent), junit:junit:jar:4.11 (absent), org.hamcrest:hamcrest-core:jar:1.3 (absent), classworlds:classworlds:jar:1.1-alpha-2 (absent), org.apache.maven.enforcer:enforcer-rules:jar:3.0.0-M1 (absent), org.apache.maven.shared:maven-common-artifact-filters:jar:3.0.1 (absent), org.apache.maven.shared:maven-shared-utils:jar:3.1.0 (absent), commons-io:commons-io:jar:2.5 (absent), org.apache.commons:commons-lang3:jar:3.5 (absent), commons-codec:commons-codec:jar:1.6 (absent), org.beanshell:bsh:jar:2.0b4 (absent), org.apache.maven.shared:maven-dependency-tree:jar:2.2 (absent), org.eclipse.aether:aether-util:jar:0.9.0.M2 (absent), org.apache.maven:maven-compat:jar:3.0 (absent), org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6 (absent): Could not transfer artifact org.sonatype.sisu:sisu-inject-bean:jar:1.4.2 from/to central (https://repo.maven.apache.org/maven2): Read timed out -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[root@phobos YCSB]# mvn -pl site.ycsb:rocksdb-binding -am clean package