-
Notifications
You must be signed in to change notification settings - Fork 517
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
hugegraph benchmark能否以hbase作为存储后端测试 #134
Labels
Comments
@fisherinbox 您好,graphdb-benchmark适配了hugegraph-core,原则上各种后端都是可以的。 上面的错误是因为包冲突。因为graphdb-benchmark中的titan依赖于hbase-client的1.2版本,HugeGraph则依赖于hbase-client的2.0.0版本。所以想要运行hbase后端存储需要修改一下pom.xml,并做后端适配 patch如下:
|
Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label |
VGalaxies
pushed a commit
that referenced
this issue
Aug 3, 2024
* add: dependency-review * tiny improve * fix Co-authored-by: imbajin <jin@apache.org> --------- Co-authored-by: imbajin <jin@apache.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior 期望表现
用hugegraph benchmark 源码进行测试,是否能修改配置文件以hbase作为存储后端
Actual behavior 实际表现
修改了hugegraph.properties,增加了 hbase相关配置,出错
java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/client/TableDescriptorBuilder
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.baidu.hugegraph.backend.store.hbase.HbaseSessions.createTable(HbaseSessions.java:152)
at com.baidu.hugegraph.backend.store.hbase.HbaseStore.init(HbaseStore.java:210)
at com.baidu.hugegraph.backend.store.AbstractBackendStoreProvider.init(AbstractBackendStoreProvider.java:86)
at com.baidu.hugegraph.HugeGraph.initBackend(HugeGraph.java:189)
at eu.socialsensor.graphdatabases.HugeGraphCoreDatabase.loadGraph(HugeGraphCoreDatabase.java:492)
at eu.socialsensor.graphdatabases.HugeGraphCoreDatabase.buildGraphEnv(HugeGraphCoreDatabase.java:201)
at eu.socialsensor.graphdatabases.HugeGraphCoreDatabase.createGraphForMassiveLoad(HugeGraphCoreDatabase.java:156)
at eu.socialsensor.benchmarks.MassiveInsertionBenchmark.benchmarkOne(MassiveInsertionBenchmark.java:41)
at eu.socialsensor.benchmarks.PermutingBenchmarkBase.startBenchmarkInternalOnePermutation(PermutingBenchmarkBase.java:68)
at eu.socialsensor.benchmarks.PermutingBenchmarkBase.startBenchmarkInternal(PermutingBenchmarkBase.java:57)
at eu.socialsensor.benchmarks.BenchmarkBase.startBenchmark(BenchmarkBase.java:35)
at eu.socialsensor.main.GraphDatabaseBenchmark.runBenchmark(GraphDatabaseBenchmark.java:136)
at eu.socialsensor.main.GraphDatabaseBenchmark.run(GraphDatabaseBenchmark.java:101)
at eu.socialsensor.main.GraphDatabaseBenchmarkTest.testGraphDatabaseBenchmark(GraphDatabaseBenchmarkTest.java:14)
Results :
Tests in error:
GraphDatabaseBenchmarkTest.testGraphDatabaseBenchmark:14 » NoClassDefFound org...
Steps to reproduce the problem 复现步骤
Status of loaded data 数据状态
Vertex/Edge summary 数据量
Vertex/Edge example 数据示例
{type something here...}
Schema(VertexLabel, EdgeLabel, IndexLabel) 元数据结构
{type something here...}
Specifications of environment 环境信息
The text was updated successfully, but these errors were encountered: