kaiizi opened a new issue, #2725:
URL: https://github.com/apache/incubator-hugegraph/issues/2725

   ### Problem Type (问题类型)
   
   other exception / error (其他异常报错)
   
   ### Before submit
   
   - [x] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 
[FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have 
confirmed and searched that there are no similar problems in the historical 
issue and documents)
   
   ### Environment (环境信息)
   
   - Server Version: 1.3.0 (Apache Release Version)
   - Backend: mysql * 3 node
   - OS: 16 CPUs, 32 G RAM, Ubuntu 2204
   
   
   ### Your Question (问题描述)
   
   
参考https://github.com/apache/incubator-hugegraph/wiki/HugeGraph-Multi%E2%80%90Node-Deployment-Configuration
 文档
   使用1.3.0版本部署分布式集群,调master节点接口创建新图如下:
   
   
   `curl --location 'http://172.16.31.137:8080/graphs/test1-mysql' \
   --header 'Content-Type: text/plain' \
   --data 'gremlin.graph=org.apache.hugegraph.HugeFactory
   backend=mysql
   serializer=mysql
   store=mysql_test_3
   
   jdbc.driver=com.mysql.cj.jdbc.Driver
   jdbc.url=jdbc:mysql://172.16.31.140:6446
   jdbc.username=root
   jdbc.password=_4-qmp_9aCH
   jdbc.reconnect_max_times=3
   jdbc.reconnect_interval=3
   jdbc.ssl_mode=false
   
   raft.mode=true
   raft.path=./raft-log
   raft.safe_read=true
   raft.use_replicator_pipeline=true
   
   raft.endpoint=172.16.31.137:8091
   raft.group_peers=172.16.31.137:8091,172.16.31.138:8091,172.16.31.139:8091
   raft.election_timeout=10000
   raft.snapshot_interval=3600
   raft.backend_threads=48
   raft.read_index_threads=8
   raft.snapshot_threads=4
   raft.snapshot_parallel_compress=false
   raft.snapshot_compress_threads=4
   raft.snapshot_decompress_threads=4
   raft.read_strategy=ReadOnlyLeaseBased
   raft.queue_size=16384
   raft.queue_publish_timeout=60
   raft.apply_batch=1
   raft.rpc_threads=80
   raft.rpc_connect_timeout=5000
   raft.rpc_timeout=60
   raft.install_snapshot_rpc_timeout=36000
   '`
   
   报错:
   `
   {
       "exception": "class java.lang.RuntimeException",
       "message": "GraphFactory could not instantiate this Graph implementation 
[class org.apache.hugegraph.HugeFactory]",
       "cause": "java.lang.reflect.InvocationTargetException"
   }
   `
   raft-log日志中未有报错信息;
   如果不添加raft相关配置可以正常创建,但是其他节点无法查看对应新图,麻烦看下
   1. 是否是创建参数有问题
   2. 是否分布式集群部署文档中缺少相关配置
   3. 是否hugagraph不支持HA,多节点数据本身就不一致
   
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   
   ```
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   ```javascript
   
   ```


-- 
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