-
Notifications
You must be signed in to change notification settings - Fork 586
Closed
Labels
apachedependenciesIncompatible dependencies of packageIncompatible dependencies of packagedocDocument expectedDocument expectedmysql
Description
Bug Type (问题类型)
server status (启动/运行异常)
Before submit
- 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
Environment (环境信息)
- Server Version: 1.0.0 (Apache Release Version)
- Backend: Mysql
- OS: CentOS 7
- Data Size: 初始化失败
Expected & Actual behavior (期望与实际表现)
使用1.0版本+mysql情况下,初始化环境失败。但配置基本从过去成功的0.12.0抄过来,请问新的1.0配置上是不是有修改?
backend=mysql
serializer=mysql
store=hugegraph
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306
jdbc.username=root
jdbc.password=123456
jdbc.reconnect_max_times=3
jdbc.reconnect_interval=3
jdbc.sslmode=false
jdbc.connect_database=hugegraph// 异常 info
Initializing HugeGraph Store...
2023-03-23 09:30:34 [main] [INFO] o.a.h.u.ConfigUtil - Scanning option 'graphs' directory './conf/graphs'
2023-03-23 09:30:34 [main] [INFO] o.a.h.c.InitStore - Init graph with config file: ./conf/graphs/hugegraph.properties
2023-03-23 09:30:34 [main] [WARN] o.a.h.c.HugeConfig - The config option 'jdbc.sslmode' is redundant, please ensure it has been registered
2023-03-23 09:30:34 [main] [WARN] o.a.h.c.HugeConfig - The config option 'jdbc.connect_database' is redundant, please ensure it has been registered
2023-03-23 09:30:34 [main] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the jdbc url: 'jdbc:mysql://localhost:3306/?socketTimeout=0&useSSL=false'
Exception in thread "main" java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [class org.apache.hugegraph.HugeFactory]
at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:84)
at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:72)
at org.apache.hugegraph.cmd.InitStore.initGraph(InitStore.java:96)
at org.apache.hugegraph.cmd.InitStore.main(InitStore.java:80)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:80)
... 3 more
Caused by: org.apache.hugegraph.HugeException: Failed to open schema transaction
at org.apache.hugegraph.StandardHugeGraph.openSchemaTransaction(StandardHugeGraph.java:436)
at org.apache.hugegraph.StandardHugeGraph.access$2700(StandardHugeGraph.java:110)
at org.apache.hugegraph.StandardHugeGraph$TinkerPopTransaction.getOrNewTransaction(StandardHugeGraph.java:1433)
at org.apache.hugegraph.StandardHugeGraph$TinkerPopTransaction.doOpen(StandardHugeGraph.java:1342)
at org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.open(AbstractTransaction.java:95)
at org.apache.tinkerpop.gremlin.structure.Transaction$READ_WRITE_BEHAVIOR$1.accept(Transaction.java:213)
at org.apache.tinkerpop.gremlin.structure.Transaction$READ_WRITE_BEHAVIOR$1.accept(Transaction.java:210)
at org.apache.tinkerpop.gremlin.structure.util.AbstractThreadLocalTransaction.doReadWrite(AbstractThreadLocalTransaction.java:92)
at org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.readWrite(AbstractTransaction.java:136)
at org.apache.hugegraph.StandardHugeGraph.graphTransaction(StandardHugeGraph.java:506)
at org.apache.hugegraph.StandardHugeGraph.backendStoreFeatures(StandardHugeGraph.java:253)
at org.apache.hugegraph.StandardHugeGraph.<init>(StandardHugeGraph.java:213)
at org.apache.hugegraph.HugeFactory.open(HugeFactory.java:88)
at org.apache.hugegraph.HugeFactory.open(HugeFactory.java:66)
... 8 more
Initialization finished.Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
apachedependenciesIncompatible dependencies of packageIncompatible dependencies of packagedocDocument expectedDocument expectedmysql