Closed huangds3527 closed 1 year ago
have u tried v1.0.0?
Can you provide a v1.0.0 cluster deployment method,issues only has v0.12.0 cluster deployment method
Can you provide a v1.0.0 cluster deployment method,issues only has v0.12.0 cluster deployment method
Same like it, and I do remember someone ask the question?
I attempted to deploy v1.0.0 using the same method, but failed with the following error: v0.12.0 was successfully deployed
I attempted to deploy v1.0.0 using the same method, but failed with the following error: v0.12.0 was successfully deployed
@javeme any suggestion about the latest cluster config?
deploy v1.0.0 failed,v0.12.0 was successfully deployed master rest-server.properties // bind url restserver.url=http://0.0.0.0:8080 // gremlin server url, need to be consistent with host and port in gremlin-server.yaml //gremlinserver.url=http://127.0.0.1:8182
graphs=./conf/graphs
// The maximum thread ratio for batch writing, only take effect if the batch.max_write_threads is 0 batch.max_write_ratio=80 batch.max_write_threads=0
// authentication configs // choose 'com.baidu.hugegraph.auth.StandardAuthenticator' or 'com.baidu.hugegraph.auth.ConfigAuthenticator' //auth.authenticator=
// for StandardAuthenticator mode //auth.graph_store=hugegraph // auth client config //auth.remote_url=127.0.0.1:8899,127.0.0.1:8898,127.0.0.1:8897
// for ConfigAuthenticator mode //auth.admin_token= //auth.user_tokens=[]
// rpc group configs of multi graph servers // rpc server configs rpc.server_host=192.168.30.31 rpc.server_port=8090 //rpc.server_timeout=30
// rpc client configs (like enable to keep cache consistency) rpc.remote_url=192.168.30.31,192.168.30.32,192.168.30.33 //rpc.remote_url=127.0.0.1:8090 //rpc.client_connect_timeout=20 //rpc.client_reconnect_period=10 //rpc.client_read_timeout=40 //rpc.client_retries=3 //rpc.client_load_balancer=consistentHash
// lightweight load balancing (beta) server.id=server-1 server.role=master
hugegraph.properties
// gremlin entrance to create graph // auth config: com.baidu.hugegraph.auth.HugeFactoryAuthProxy gremlin.graph=com.baidu.hugegraph.HugeFactory
// cache config //schema.cache_capacity=100000 // vertex-cache default is 1000w, 10min expired vertex.cache_type=l2 //vertex.cache_capacity=10000000 //vertex.cache_expire=600 // edge-cache default is 100w, 10min expired edge.cache_type=l2 //edge.cache_capacity=1000000 //edge.cache_expire=600
// schema illegal name template //schema.illegal_name_regex=\s+|~.*
//vertex.default_label=vertex
backend=rocksdb serializer=binary
store=hugegraph
raft.mode=true raft.safe_read=true raft.use_snapshot=false raft.endpoint=192.168.30.31:8282 raft.group_peers=192.168.30.31:8282,192.168.30.32:8282,192.168.30.33:8282 raft.path=./raft-log raft.use_replicator_pipeline=true raft.election_timeout=10000 raft.snapshot_interval=3600 raft.backend_threads=48 raft.read_index_threads=8 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=60000
search.text_analyzer=jieba search.text_analyzer_mode=INDEX
在v1.0.0版本,raft.group_peers
配置已经从 hugegraph.properties 移到了 rest-server.properties 中。可以下载v1.0.0源码,看下给出的配置demo
Bug Type (问题类型)
other exception / error (其他异常报错)
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
hugegraph-server0.12.0集群模式部署成功,导入数据重启之后hugegraph-server启动不起来,Waiting for raft group 'default' election timeout
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response