2867021781 commented on issue #1934:
URL: 
https://github.com/apache/incubator-hugegraph/issues/1934#issuecomment-1189855346

   > 日志中有错误信息或警告信息吗?
   我看到报错信息了,是因为我开启了raft,不过为啥用ScyllaDB不能开启raft呢?
   
   错误信息:Caused by: java.lang.IllegalArgumentException: Can't enable raft mode 
with scylladb backend
        at 
com.google.common.base.Preconditions.checkArgument(Preconditions.java:163) 
~[guava-25.1-jre.jar:?]
        at com.baidu.hugegraph.util.E.checkArgument(E.java:56) 
~[hugegraph-common-2.0.1.jar:2.0.1.0]
        at 
com.baidu.hugegraph.backend.store.raft.RaftBackendStoreProvider.checkNonSharedStore(RaftBackendStoreProvider.java:79)
 ~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at 
com.baidu.hugegraph.backend.store.raft.RaftBackendStoreProvider.loadSystemStore(RaftBackendStoreProvider.java:128)
 ~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at 
com.baidu.hugegraph.StandardHugeGraph.loadSystemStore(StandardHugeGraph.java:460)
 ~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at 
com.baidu.hugegraph.StandardHugeGraph.access$1300(StandardHugeGraph.java:112) 
~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at 
com.baidu.hugegraph.StandardHugeGraph$StandardHugeGraphParams.loadSystemStore(StandardHugeGraph.java:1178)
 ~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at 
com.baidu.hugegraph.task.ServerInfoManager.listenChanges(ServerInfoManager.java:109)
 ~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at 
com.baidu.hugegraph.task.ServerInfoManager.<init>(ServerInfoManager.java:85) 
~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at 
com.baidu.hugegraph.task.StandardTaskScheduler.<init>(StandardTaskScheduler.java:106)
 ~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at 
com.baidu.hugegraph.task.TaskManager.addScheduler(TaskManager.java:91) 
~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at 
com.baidu.hugegraph.StandardHugeGraph.<init>(StandardHugeGraph.java:217) 
~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at com.baidu.hugegraph.HugeFactory.open(HugeFactory.java:82) 
~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at com.baidu.hugegraph.HugeFactory.open(HugeFactory.java:63) 
~[hugegraph-core-0.12.0.jar:0.12.0.0]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_181]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_181]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_181]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
        at 
org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78)
 ~[gremlin-core-3.4.3.jar:3.4.3]
        ... 18 more
   2022-07-20 13:41:21 [main] [INFO] c.b.h.r.RpcServer - RpcServer config is 
empty, skip starting RpcServer
   2022-07-20 13:41:21 [main] [INFO] c.b.h.s.RestServer - The maximum batch 
writing threads is 12 (total threads 16)
   2022-07-20 13:41:21 [main] [INFO] c.b.h.s.RestServer - RestServer started
   2022-07-20 13:44:09 [main] [INFO] c.b.h.u.ConfigUtil - Scaning option 
'graphs' directory './conf/graphs'
   2022-07-20 13:44:09 [main] [INFO] c.b.h.c.InitStore - Init graph with config 
file: ./conf/graphs/hugegraph.properties
   2022-07-20 13:44:11 [main] [INFO] o.c.o.l.Uns - OHC using JNA OS native 
malloc/free
   2022-07-20 13:44:11 [main] [INFO] c.b.h.c.InitStore - Skip init-store due to 
the backend store of 'hugegraph' had been initialized
   2022-07-20 13:44:11 [main] [INFO] c.b.h.HugeGraph - Close graph 
standardhugegraph[hugegraph]
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to