busgo / forest

分布式任务调度平台,分布式,任务调度,schedule,scheduler
http://122.51.106.217:6579
Apache License 2.0
279 stars 54 forks source link

你好,前端任务配置后,点立即执行报错 #6

Open djp82645 opened 4 years ago

djp82645 commented 4 years ago

forest.go 配置 为DefaultEndpoints = "127.0.0.1:2379,47.52.112.191:2379", 报错信息为 {"time":"2020-08-04T14:29:00.1275917+08:00","level":"WARN","prefix":"-","file":"executor.go","line":"46","message":"the group:test,select a client error:&errors.errorString{s:\"the group:test,has no client to select\"}"} 前端调度集群只有leader没有floower

busgo commented 4 years ago

前端调度集群只有leader没有follower

请启动多个调度节点因为您只有一个调度节点(单节点肯定只有Leader 没有 Follower了)。

{"time":"2020-08-04T14:29:00.1275917+08:00","level":"WARN","prefix":"-","file":"executor.go","line":"46","message":"the group:test,select a client error:&errors.errorString{s:"the group:test,has no client to select"}"}

请启动对应的任务作业节点并保证注册在您在前端配置的对应的任务作业分组下【调度集群节点和任务作业节点是分开的】。