hexuxu110 commented on issue #2847:
URL:
https://github.com/apache/incubator-hugegraph/issues/2847#issuecomment-3143674505
PD:
2025-08-01 15:48:48 [main] [INFO] o.a.h.p.s.PDService - PDService init…………
PDConfig(clusterId=1, patrolInterval=1800, dataPath=./pd_data, minStoreCount=1,
initialStoreList=10.156.90.54:8500,10.158.189.231:8500,10.159.113.63:8500,
host=10.158.189.231, verifyPath=./conf/verify-license.json,
licensePath=./conf/hugegraph.license,
threadPoolGrpc=PDConfig.ThreadPoolGrpc(core=600, max=1000, queue=2147483647),
raft=PDConfig.Raft(enable=true, address=10.158.189.231:8610,
dataPath=./pd_data,
peersList=10.156.90.54:8610,10.158.189.231:8610,10.159.113.63:8610,
snapshotInterval=300, rpcTimeout=10000, host=10.158.189.231, port=8620,
clusterId=1, grpcPort=8686), store=PDConfig.Store(keepAliveTimeout=300,
maxDownTime=172800, monitorDataEnabled=true, monitorDataInterval=1 minute,
monitorDataRetention=1 day), partition=PDConfig.Partition(totalCount=12,
maxShardsPerStore=12, shardCount=3),
discovery=PDConfig.Discovery(heartbeatOutTimes=3),
initialStoreMap={10.158.189.231:8500=10.158.189.231:
8500, 10.159.113.63:8500=10.159.113.63:8500,
10.156.90.54:8500=10.156.90.54:8500}, configService=null, idService=null)
Sofa-Middleware-Log SLF4J : Actual binding is of type [ com.alipay.remoting
Log4j2 ]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
com.alipay.sofa.jraft.util.internal.UnsafeUtil
(jar:file:/home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-pd-incubating-1.5.0/lib/hg-pd-service-1.5.0.jar!/BOOT-INF/lib/jraft-core-1.3.13.jar!/)
to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of
com.alipay.sofa.jraft.util.internal.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
2025-08-01 15:48:49 [main] [INFO] o.a.h.p.r.RaftEngine - RaftEngine start
successfully: id = pd_raft, peers list = [10.156.90.54:8610,
10.158.189.231:8610, 10.159.113.63:8610]
2025-08-01 15:48:49 [main] [INFO] o.a.h.p.p.AbstractObserverSubject - Adding
a PULSE_TYPE_PARTITION_HEARTBEAT's listener, listener-id is [1754034529112].
2025-08-01 15:48:49 [main] [INFO] o.a.h.p.s.DiscoveryService - PDService
init………… PDConfig(clusterId=1, patrolInterval=1800, dataPath=./pd_data,
minStoreCount=1,
initialStoreList=10.156.90.54:8500,10.158.189.231:8500,10.159.113.63:8500,
host=10.158.189.231, verifyPath=./conf/verify-license.json,
licensePath=./conf/hugegraph.license,
threadPoolGrpc=PDConfig.ThreadPoolGrpc(core=600, max=1000, queue=2147483647),
raft=PDConfig.Raft(enable=true, address=10.158.189.231:8610,
dataPath=./pd_data,
peersList=10.156.90.54:8610,10.158.189.231:8610,10.159.113.63:8610,
snapshotInterval=300, rpcTimeout=10000, host=10.158.189.231, port=8620,
clusterId=1, grpcPort=8686), store=PDConfig.Store(keepAliveTimeout=300,
maxDownTime=172800, monitorDataEnabled=true, monitorDataInterval=1 minute,
monitorDataRetention=1 day), partition=PDConfig.Partition(totalCount=12,
maxShardsPerStore=12, shardCount=3),
discovery=PDConfig.Discovery(heartbeatOutTimes=3),
initialStoreMap={10.158.189.231:8500=10.158.1
89.231:8500, 10.159.113.63:8500=10.159.113.63:8500,
10.156.90.54:8500=10.156.90.54:8500},
configService=org.apache.hugegraph.pd.ConfigService@7c551ad4,
idService=org.apache.hugegraph.pd.IdService@7d5508e0)
2025-08-01 15:48:50 [JRaft-Closure-Executor-0] [INFO] o.a.h.p.s.PDService -
onLeaderChanged
2025-08-01 15:48:50 [JRaft-Closure-Executor-0] [INFO] o.a.h.p.ConfigService
- update pd config: mConfig:version: 1
partition_count: 12
shard_count: 3
max_Shards_Per_Store: 12
timestamp: 1754034530324
2025-08-01 15:48:50 [JRaft-Closure-Executor-0] [INFO]
o.a.h.p.PartitionService - Partition service reload cache from rocksdb, due to
leader change
2025-08-01 15:48:50 [main] [INFO] o.a.h.p.b.HugePDServer - Started
HugePDServer in 5.691 seconds (JVM running for 8.518)
Hugegraph-pd started.
2025-08-01 15:53:38 [JRaft-Closure-Executor-1] [INFO]
o.a.h.p.s.HgKVStoreImpl - begin save snapshot at
./pd_data/pd_raft/snapshot/temp/snapshot
2025-08-01 15:53:38 [JRaft-Closure-Executor-1] [INFO]
o.a.h.p.s.HgKVStoreImpl - saved snapshot into
./pd_data/pd_raft/snapshot/temp/snapshot
2025-08-01 15:53:38 [JRaft-Closure-Executor-1] [INFO]
o.a.h.p.r.RaftStateMachine - Raft onSnapshotSave success
2025-08-01 16:03:38 [JRaft-Closure-Executor-2] [INFO]
o.a.h.p.s.HgKVStoreImpl - begin save snapshot at
./pd_data/pd_raft/snapshot/temp/snapshot
2025-08-01 16:03:38 [JRaft-Closure-Executor-2] [INFO]
o.a.h.p.s.HgKVStoreImpl - saved snapshot into
./pd_data/pd_raft/snapshot/temp/snapshot
2025-08-01 16:03:38 [JRaft-Closure-Executor-2] [INFO]
o.a.h.p.r.RaftStateMachine - Raft onSnapshotSave success
2025-08-01 16:08:38 [JRaft-Closure-Executor-3] [INFO]
o.a.h.p.s.HgKVStoreImpl - begin save snapshot at
./pd_data/pd_raft/snapshot/temp/snapshot
2025-08-01 16:08:38 [JRaft-Closure-Executor-3] [INFO]
o.a.h.p.s.HgKVStoreImpl - saved snapshot into
./pd_data/pd_raft/snapshot/temp/snapshot
2025-08-01 16:08:38 [JRaft-Closure-Executor-3] [INFO]
o.a.h.p.r.RaftStateMachine - Raft onSnapshotSave success
Hstore:
2025-08-01 16:04:22 [main] [WARN] o.a.h.s.u.Version - Cannot find
version.txt resource file, using default version: unknown
2025-08-01 16:04:23 [heartbeat] [INFO] o.a.h.s.p.DefaultPdProvider -
registerStore pd=10.156.90.54:8686,10.158.189.231:8686,10.159.113.63:8686
storeId=0, store=Store(version=unknown, id=0, storeAddress=10.158.189.231:8500,
pdAddress=10.156.90.54:8686,10.158.189.231:8686,10.159.113.63:8686,
raftAddress=10.158.189.231:8510,
deployPath=file:/home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/lib/hg-store-node-1.5.0.jar!/BOOT-INF/classes!/,
dataPath=./storage, dataVersion=1, partitionCount=0, startTime=0, usedSize=0,
pdHeartbeatInterval=0, state=Unknown, labels={rest.port=8520}, cores=24)
2025-08-01 16:04:23 [grpc-default-executor-0] [INFO] o.a.h.p.c.PDClient -
PDClient receive store event NODE_ONLINE 609c18eab3071814
2025-08-01 16:04:23 [heartbeat] [INFO] o.a.h.s.HeartbeatService - Register
Store id= 6961466520312944660 successfully. store = Store(version=unknown,
id=6961466520312944660, storeAddress=10.158.189.231:8500,
pdAddress=10.156.90.54:8686,10.158.189.231:8686,10.159.113.63:8686,
raftAddress=10.158.189.231:8510,
deployPath=file:/home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/lib/hg-store-node-1.5.0.jar!/BOOT-INF/classes!/,
dataPath=./storage, dataVersion=1, partitionCount=0, startTime=0, usedSize=0,
pdHeartbeatInterval=0, state=Unknown, labels={rest.port=8520}, cores=24),
clusterStats timestamp: 1754035463442
2025-08-01 16:04:23 [JRaft-Closure-Executor-0] [INFO] o.a.h.s.HgStoreEngine
- stateChanged, oldState Unknown, newState Up
2025-08-01 16:04:24 [main] [WARN]
o.s.b.a.g.t.GroovyTemplateAutoConfiguration - Cannot find template location:
classpath:/templates/ (please add some templates, check your Groovy
configuration, or set spring.groovy.template.check-template-location=false)
2025-08-01 16:04:24 [main] [INFO] o.s.b.a.e.w.EndpointLinksResolver -
Exposing 14 endpoint(s) beneath base path '/actuator'
2025-08-01 16:04:24 [main] [INFO] o.e.j.s.h.C.application - Initializing
Spring DispatcherServlet 'dispatcherServlet'
2025-08-01 16:04:24 [main] [INFO] o.s.w.s.DispatcherServlet - Initializing
Servlet 'dispatcherServlet'
2025-08-01 16:04:24 [main] [INFO] o.s.w.s.DispatcherServlet - Completed
initialization in 1 ms
2025-08-01 16:04:24 [main] [INFO] o.e.j.s.AbstractConnector - Started
ServerConnector@62e7dffa{HTTP/1.1, (http/1.1)}{0.0.0.0:8520}
2025-08-01 16:04:24 [main] [INFO] o.s.b.w.e.j.JettyWebServer - Jetty started
on port(s) 8520 (http/1.1) with context path '/'
2025-08-01 16:04:24 [main] [INFO] o.l.s.g.GRpcServerRunner - Starting gRPC
Server ...
2025-08-01 16:04:24 [main] [INFO] o.l.s.g.GRpcServerRunner -
'org.apache.hugegraph.store.node.grpc.HgStoreSessionImpl' service has been
registered.
2025-08-01 16:04:24 [main] [INFO] o.l.s.g.GRpcServerRunner -
'org.apache.hugegraph.store.node.grpc.HgStoreStateService' service has been
registered.
2025-08-01 16:04:24 [main] [INFO] o.l.s.g.GRpcServerRunner -
'org.apache.hugegraph.store.node.grpc.HgStoreStreamImpl' service has been
registered.
2025-08-01 16:04:24 [main] [INFO] o.l.s.g.GRpcServerRunner -
'org.apache.hugegraph.store.node.grpc.scan.GraphStoreImpl' service has been
registered.
2025-08-01 16:04:24 [main] [INFO] o.l.s.g.GRpcServerRunner - gRPC Server
started, listening on port 8500.
2025-08-01 16:04:24 [main] [INFO] o.a.h.s.n.StoreNodeApplication - Started
StoreNodeApplication in 6.075 seconds (JVM running for 8.905)
2025-08-01 16:08:24 [Bolt-default-executor-5-thread-1] [INFO]
o.a.h.s.c.HgCmdProcessor - CreateRaftNode rpc call received, [id: 2
graph_name: "hugegraph/g"
start_key: 10924
end_key: 16386
state: PState_Normal
], null
2025-08-01 16:08:24 [Bolt-default-executor-5-thread-1] [INFO]
o.a.h.r.a.RocksDBFactory - create rocksdb for 00002
2025-08-01 16:08:24 [Bolt-default-executor-5-thread-1] [INFO]
o.a.h.r.a.RocksDBSession - 00002 latest db path
/home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/db/00002
2025-08-01 16:08:24 [Bolt-default-executor-5-thread-1] [INFO]
o.a.h.r.a.RocksDBSession - rocksdb use global WriteBufferManager
2025-08-01 16:08:24 [Bolt-default-executor-5-thread-1] [INFO]
o.a.h.s.HgStoreEngine - createPartitionEngine 2, with shards: {
id:4908168321072354628,role:Leader },{ id:6961466520312944660,role:Follower },{
id:6337659256623897096,role:Follower }
2025-08-01 16:08:24 [Bolt-default-executor-5-thread-1] [INFO]
o.a.h.s.PartitionEngine - PartitionEngine starting: PartitionEngine{groupId =2,
isLeader=false, options=PartitionEngineOptions(taskScheduleTime=60,
splitPartitionTimeout=1800000,
raftOptions=HgStoreEngineOptions.RaftOptions(rpcConnectTimeoutMs=1000,
electionTimeoutMs=3000, rpcInstallSnapshotTimeout=3600000,
waitLeaderTimeout=30, maxEntriesSize=256, maxBodySize=524288,
overloadRateLimit=100, keepInMemorySegmentCount=2, preAllocateSegmentCount=1,
splitPartitionLogIndexMargin=10, rpcDefaultTimeout=10000,
snapshotIntervalSecs=1800, snapshotLogIndexMargin=0, metrics=true,
disruptorBufferSize=1024, maxReplicatorInflightMsgs=256,
maxLogSize=600000000000, aveLogEntrySizeRatio=0.95,
useRocksDBSegmentLogStorage=true, maxSegmentFileSize=67108864),
raftDataPath=/home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/raft/00002,
raftSnapShotPath=/home/xiaoju/octo-graph/apache-hugeg
raph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/raft/00002,
groupId=2, raftAddress=10.158.189.231:8510, peerList=[10.156.90.54:8510::100,
10.158.189.231:8510::80, 10.159.113.63:8510::64], conf=null,
taskHandler=org.apache.hugegraph.store.node.grpc.HgStoreNodeService@7659c57a)}
2025-08-01 16:08:24 [Bolt-default-executor-5-thread-1] [INFO]
o.a.h.s.PartitionEngine - PartitionEngine start successfully: id = 2, peers
list = [10.156.90.54:8510::100, 10.158.189.231:8510::80, 10.159.113.63:8510::64]
2025-08-01 16:08:27 [JRaft-FSMCaller-Disruptor-0] [INFO]
o.a.h.s.r.HgStoreStateMachine - Raft 2 start following: LeaderChangeContext
[leaderId=10.156.90.54:8510, term=1, status=Status[ENEWLEADER<10011>: Follower
receives message from new leader with the same term.]].
2025-08-01 16:08:27 [Bolt-default-executor-5-thread-3] [INFO]
o.a.h.s.c.HgCmdProcessor - CreateRaftNode rpc call received, [id: 8
graph_name: "hugegraph/g"
start_key: 43696
end_key: 49158
state: PState_Normal
], null
2025-08-01 16:08:27 [Bolt-default-executor-5-thread-3] [INFO]
o.a.h.r.a.RocksDBFactory - create rocksdb for 00008
2025-08-01 16:08:27 [Bolt-default-executor-5-thread-3] [INFO]
o.a.h.r.a.RocksDBSession - 00008 latest db path
/home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/db/00008
2025-08-01 16:08:27 [Bolt-default-executor-5-thread-3] [INFO]
o.a.h.r.a.RocksDBSession - rocksdb use global WriteBufferManager
2025-08-01 16:08:27 [Bolt-default-executor-5-thread-3] [INFO]
o.a.h.s.HgStoreEngine - createPartitionEngine 8, with shards: {
id:4908168321072354628,role:Leader },{ id:6961466520312944660,role:Follower },{
id:6337659256623897096,role:Follower }
2025-08-01 16:08:27 [Bolt-default-executor-5-thread-3] [INFO]
o.a.h.s.PartitionEngine - PartitionEngine starting: PartitionEngine{groupId =8,
isLeader=false, options=PartitionEngineOptions(taskScheduleTime=60,
splitPartitionTimeout=1800000,
raftOptions=HgStoreEngineOptions.RaftOptions(rpcConnectTimeoutMs=1000,
electionTimeoutMs=3000, rpcInstallSnapshotTimeout=3600000,
waitLeaderTimeout=30, maxEntriesSize=256, maxBodySize=524288,
overloadRateLimit=100, keepInMemorySegmentCount=2, preAllocateSegmentCount=1,
splitPartitionLogIndexMargin=10, rpcDefaultTimeout=10000,
snapshotIntervalSecs=1800, snapshotLogIndexMargin=0, metrics=true,
disruptorBufferSize=1024, maxReplicatorInflightMsgs=256,
maxLogSize=600000000000, aveLogEntrySizeRatio=0.95,
useRocksDBSegmentLogStorage=true, maxSegmentFileSize=67108864),
raftDataPath=/home/xiaoju/octo-graph/apache-hugegraph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/raft/00008,
raftSnapShotPath=/home/xiaoju/octo-graph/apache-hugeg
raph-incubating-1.5.0/apache-hugegraph-store-incubating-1.5.0/./storage/raft/00008,
groupId=8, raftAddress=10.158.189.231:8510, peerList=[10.156.90.54:8510::100,
10.158.189.231:8510::80, 10.159.113.63:8510::64], conf=null,
taskHandler=org.apache.hugegraph.store.node.grpc.HgStoreNodeService@7659c57a)}
2025-08-01 16:08:27 [Bolt-default-executor-5-thread-3] [INFO]
o.a.h.s.PartitionEngine - PartitionEngine start successfully: id = 8, peers
list = [10.156.90.54:8510::100, 10.158.189.231:8510::80, 10.159.113.63:8510::64]
2025-08-01 16:08:30 [JRaft-Rpc-Closure-Executor-0] [INFO]
o.a.h.s.PartitionEngine - Raft 8 Replicator stateChanged 10.159.113.63:8510::64
CREATED
2025-08-01 16:08:30 [JRaft-Rpc-Closure-Executor-1] [INFO]
o.a.h.s.PartitionEngine - Raft 8 Replicator onCreated 10.159.113.63:8510::64
2025-08-01 16:08:30 [JRaft-Rpc-Closure-Executor-2] [INFO]
o.a.h.s.PartitionEngine - Raft 8 Replicator stateChanged 10.159.113.63:8510::64
OFFLINE
2025-08-01 16:08:30 [JRaft-Rpc-Closure-Executor-3] [INFO]
o.a.h.s.PartitionEngine - Raft 8 Replicator stateChanged 10.156.90.54:8510::100
CREATED
2025-08-01 16:08:30 [JRaft-Rpc-Closure-Executor-4] [INFO]
o.a.h.s.PartitionEngine - Raft 8 Replicator onCreated 10.156.90.54:8510::100
2025-08-01 16:08:30 [JRaft-Rpc-Closure-Executor-5] [INFO]
o.a.h.s.PartitionEngine - Raft 8 Replicator stateChanged 10.156.90.54:8510::100
OFFLINE
2025-08-01 16:08:30 [JRaft-Rpc-Closure-Executor-6] [INFO]
o.a.h.s.PartitionEngine - Raft 8 Replicator stateChanged 10.159.113.63:8510::64
ONLINE
2025-08-01 16:08:30 [JRaft-Rpc-Closure-Executor-7] [INFO]
o.a.h.s.PartitionEngine - Raft 8 Replicator stateChanged 10.156.90.54:8510::100
ONLINE
2025-08-01 16:08:30 [JRaft-FSMCaller-Disruptor-0] [INFO]
o.a.h.s.r.HgStoreStateMachine - Raft 8 becomes leader
2025-08-01 16:08:30 [JRaft-Closure-Executor-4] [INFO]
o.a.h.s.PartitionEngine - Raft 8 onLeaderStart newTerm is 1
2025-08-01 16:08:30 [JRaft-Closure-Executor-4] [INFO]
o.a.h.s.PartitionEngine - Raft 8 onConfigurationCommitted, conf is
10.156.90.54:8510::100,10.158.189.231:8510::80,10.159.113.63:8510::64
2025-08-01 16:08:30 [JRaft-Closure-Executor-4] [INFO]
o.a.h.s.PartitionEngine - Raft 8 onConfigurationCommitted, shardGroup
[store_id: 4908168321072354628
role: Follower
, store_id: 6961466520312944660
role: Leader
, store_id: 6337659256623897096
role: Follower
]
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]