gpt4 book ai didi

java - YCSB Maven 构建错误

转载 作者:行者123 更新时间:2023-12-02 21:40:57 25 4
gpt4 key购买 nike

我克隆了YSCB git并修改 \hbase 中的 pom.xml用于指向我的 HBase 和 Hadoop 的正确版本的文件夹。之后,我尝试使用 `mvn clean package' 制作 YCSB 包,但出现以下我无法解决的错误。

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building HBase DB Binding 0.1.4
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.hadoop:hadoop-core:jar:2.4.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] YCSB Root .......................................... SUCCESS [ 0.954 s]
[INFO] Core YCSB .......................................... SUCCESS [ 19.117 s]
[INFO] Cassandra DB Binding ............................... SUCCESS [ 10.728 s]
[INFO] HBase DB Binding ................................... FAILURE [ 0.260 s]
[INFO] Hypertable DB Binding .............................. SKIPPED
[INFO] Accumulo DB Binding ................................ SKIPPED
[INFO] DynamoDB DB Binding ................................ SKIPPED
[INFO] ElasticSearch Binding .............................. SKIPPED
[INFO] Infinispan DB Binding .............................. SKIPPED
[INFO] JDBC DB Binding .................................... SKIPPED
[INFO] Mapkeeper DB Binding ............................... SKIPPED
[INFO] Mongo DB Binding ................................... SKIPPED
[INFO] OrientDB Binding ................................... SKIPPED
[INFO] Redis DB Binding ................................... SKIPPED
[INFO] Voldemort DB Binding ............................... SKIPPED
[INFO] YCSB Release Distribution Builder .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.309 s
[INFO] Finished at: 2015-02-27T08:30:30+00:00
[INFO] Final Memory: 53M/934M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hbase-binding: Could not resolve dependencies for project com.yahoo.ycsb:hbase-binding:jar:0.1.4: Failure to find org.apache.hadoop:hadoop-core:jar:2.4.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hbase-binding

我正在使用 HBase 版本 0.94.18 和 Hadoop 2.4.0。关于如何解决它的任何建议?

最佳答案

你是否更改了 hbase pom.xml 文件中的 hbase 和 hadoop 版本。
还要检查您使用的存储库中是否有所需的 jar https://repo.maven.apache.org/maven2

如果您仅将 YCSB 用于 hbase,我建议从 pom 文件中删除不需要的模块,这将减少构建所需的时间。

关于java - YCSB Maven 构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28760736/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com