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

   ### Bug Type (问题类型)
   
   None
   
   ### 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.5.0 (Apache Release Version)
   - Backend: Hstore x nodes, HDD or SSD 
   - OS: xx CPUs, xx G RAM, Ubuntu 2x.x / CentOS 7.x 
   - Data Size:  xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
   
   
   ### Expected & Actual behavior (期望与实际表现)
   
   2025-07-28 17:56:05 [pool-15-thread-1] [ERROR] o.a.h.t.TaskManager - 
Exception occurred when change to master role
   java.lang.ClassCastException: class 
org.apache.hugegraph.task.DistributedTaskScheduler cannot be cast to class 
org.apache.hugegraph.task.StandardTaskScheduler 
(org.apache.hugegraph.task.DistributedTaskScheduler and 
org.apache.hugegraph.task.StandardTaskScheduler are in unnamed module of loader 
'app')
           at 
org.apache.hugegraph.task.TaskManager.onAsRoleMaster(TaskManager.java:359) 
~[hugegraph-core-1.5.0.jar:1.5.0]
           at 
org.apache.hugegraph.masterelection.StandardRoleListener.onAsRoleMaster(StandardRoleListener.java:47)
 ~[hugegraph-core-1.5.0.jar:1.5.0]
           at 
org.apache.hugegraph.masterelection.StandardRoleElectionStateMachine.apply(StandardRoleElectionStateMachine.java:75)
 ~[hugegraph-core-1.5.0.jar:1.5.0]
           at 
org.apache.hugegraph.masterelection.StandardRoleElectionStateMachine.lambda$start$0(StandardRoleElectionStateMachine.java:60)
 ~[hugegraph-core-1.5.0.jar:1.5.0]
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
~[?:?]
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
~[?:?]
           at java.lang.Thread.run(Thread.java:829) [?:?]
   2025-07-28 17:56:05 [pool-15-thread-1] [ERROR] o.a.h.m.StandardRoleListener 
- Server server-1 exception occurred
   java.lang.ClassCastException: class 
org.apache.hugegraph.task.DistributedTaskScheduler cannot be cast to class 
org.apache.hugegraph.task.StandardTaskScheduler 
(org.apache.hugegraph.task.DistributedTaskScheduler and 
org.apache.hugegraph.task.StandardTaskScheduler are in unnamed module of loader 
'app')
           at 
org.apache.hugegraph.task.TaskManager.onAsRoleMaster(TaskManager.java:359) 
~[hugegraph-core-1.5.0.jar:1.5.0]
           at 
org.apache.hugegraph.masterelection.StandardRoleListener.onAsRoleMaster(StandardRoleListener.java:47)
 ~[hugegraph-core-1.5.0.jar:1.5.0]
           at 
org.apache.hugegraph.masterelection.StandardRoleElectionStateMachine.apply(StandardRoleElectionStateMachine.java:75)
 ~[hugegraph-core-1.5.0.jar:1.5.0]
           at 
org.apache.hugegraph.masterelection.StandardRoleElectionStateMachine.lambda$start$0(StandardRoleElectionStateMachine.java:60)
 ~[hugegraph-core-1.5.0.jar:1.5.0]
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 
~[?:?]
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 
~[?:?]
           at java.lang.Thread.run(Thread.java:829) [?:?]
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   我的rest配置
   
   restserver.url=http://0.0.0.0:8081
   gremlinserver.url=http://127.0.0.1:8181
   
   graphs=./conf/graphs
   
   # ????
   auth.authenticator=org.apache.hugegraph.auth.StandardAuthenticator
   auth.admin_token=54702de7-b89e-4a80-817c-b3020e7323a0
   auth.user_tokens=user0:d75469f7-90e8-45fd-9012-7801cc0d9df6
   
   rpc.server_host=127.0.0.1
   rpc.server_port=8091
   
   rpc.remote_url=127.0.0.1:8091
   rpc.client_connect_timeout=60
   rpc.client_reconnect_period=15
   rpc.client_read_timeout=60
   rpc.client_retries=5
   rpc.client_load_balancer=consistentHash
   
   
   log.slow_query_threshold=1000
   
   server.id=server-1
   server.role=master
   ```
   
   ### 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: dev-unsubscr...@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to