Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 24 09:59
    mrjerryli opened #1096
  • Aug 24 06:43
    wangyanna13 closed #1094
  • Aug 24 06:42
    wangyanna13 opened #1095
  • Aug 24 01:55
    wangyanna13 opened #1094
  • Aug 24 01:27
    hlongy closed #1091
  • Aug 24 00:22
    wz2cool commented #959
  • Aug 23 10:41
    biqingguo commented #1088
  • Aug 23 09:38
    chenxd1991 edited #1093
  • Aug 23 07:32
    AtlantisWing commented #829
  • Aug 23 07:29
    chenxd1991 opened #1093
  • Aug 23 03:45
    shaohuaniu commented #1
  • Aug 23 02:28
    fengxinxin opened #1092
  • Aug 22 13:00
    hlongy opened #1091
  • Aug 22 09:40
    a805748009 commented #1088
  • Aug 22 09:38
    lvgitt commented #1088
  • Aug 22 09:23
    a805748009 commented #1088
  • Aug 22 09:16
    LifeStreams opened #1090
  • Aug 22 09:03
    itzhulinghai commented #462
  • Aug 22 09:02
    itzhulinghai commented #462
  • Aug 22 09:02
    itzhulinghai commented #462
Zoe Shaw
@ZoeShaw101
master代码
出错的地方好像是AdminBiz没有被反射出来
AdminBiz adminBiz = (AdminBiz) new XxlRpcReferenceBean(NetEnum.JETTY, Serializer.SerializeEnum.HESSIAN.getSerializer(), CallType.SYNC,
AdminBiz.class, null, 10000, addressUrl, accessToken, null).getObject();
有大佬能解答一下吗
wxxiong6
@wxxiong6
怎么执行php代码
廖浩杰
@JakLiao
这个Java项目很不错呀,一直想找一个python系的任务调度平台
9oo9le
@9oo9le
image.png
这个错误有谁知道咋解决么 执行器跑起来就这样
594484242
@594484242
xxljob 父子任务之间怎么传入参数?
xxljob 父任务执行完成之后,怎样把返回的结果传入到子任务中,以便子任务根据参数进行执行任务
605629942
@605629942
docker启动的时候是不是应该把执行器配写进去?
lemonzone2010
@lemonzone2010
crontab 不支持周 吗?0 0 9 * * 4
xuan shares
@bears111
请问调度中心集群怎么能看到调度的是那个节点?
lemonzone2010
@lemonzone2010
This message was deleted
0 0 9 * * 1 * 每周2的 9点执行设置不了 @xx
@xuxueli
lemonzone2010
@lemonzone2010
crontab.png
YoungPioneer
@xpxu
我们在使用定时任务执行时,设定是整点时执行任务。但是发现偶尔有在59分59秒执行的情况。
@xuxueli
这个影响还挺大的。我们使用的xxl-job版本是1.9.2
KevinMeng4662
@KevinMeng4662
请问大家在执行任务的时候 有遇到这个错误吗? >>>>>>>>>>>触发调度<<<<<<<<<<<
触发调度:
address:
code:500
msg:com.xxl.rpc.util.XxlRpcException: java.net.ConnectException: Connection timed out at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at org.eclipse.jetty.io.SelectorManager.finishConnect(SelectorManager.java:341) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processConnect(SelectorManager.java:676) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:645) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:612) at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:550) at org.eclipse.jetty.util.thread.NonBlockingThread.run(NonBlockingThread.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745) at com.xxl.rpc.remoting.invoker.reference.XxlRpcReferenceBean$1.invoke(XxlRpcReferenceBean.java:161) at com.sun.proxy.$Proxy81.run(Unknown Source) at com.xxl.job.admin.core.trigger.XxlJobTrigger.runExecutor(XxlJobTrigger.java:191) at com.xxl.job.admin.core.trigger.XxlJobTrigger.processTrigger(XxlJobTrigger.java:142) at com.xxl.job.admin.core.trigger.XxlJobTrigger.trigger(XxlJobTrigger.java:76) at com.xxl.job.admin.core.thread.JobTriggerPoolHelper$1.run(JobTriggerPoolHelper.java:35) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
@xuxueli
zhaoxu1943
@zhaoxu1943
有没有使用xxl-sso的
jaoyina
@jaoyina
请问有支持oracle,sqlserver的最新版本吗?
许雪里
@xuxueli
@jaoyina 刚发布最新版本 v2.0.2 社区还未有人做定制。历史版本可以参考下github issue分支汇总。
@KevinMeng4662 这是jetty请求超时报错,网络会服务有问题。
@xpxu 应该是DB和应用时钟不一致导致的,确认下。
@ZoeShaw101 这应该是Debug的时候代理了toString,线上跑的时候不会有这个问题的。
许雪里
@xuxueli
@wangfan9002 你好,你可以创建多个执行器,任务挂在不同的执行器下。每个执行器可以单独设置注册方式。
@hunterwyld 你好,是兼容Tomcat 8.5x的。新版内置web容器,不需要配置Tomcat。
@Jamlee 你好,事件触发已经支持,提供了相关API,文档有说明。
Vickey Wu
@Vickey-Wu
@xuxueli 许大大好,我使用docker部署“调度中心”后还需要单独部署“执行器项目”吗?
immortalHuang
@immortalHuang
那个调度中心我用https部署,执行器注册不上?
com.xxl.rpc.util.XxlRpcException: java.lang.NullPointerException
at org.eclipse.jetty.io.ssl.SslClientConnectionFactory.newConnection(SslClientConnectionFactory.java:56)
at org.eclipse.jetty.client.AbstractHttpClientTransport$ClientSelectorManager.newConnection(AbstractHttpClientTransport.java:170)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.createEndPoint(SelectorManager.java:745)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processConnect(SelectorManager.java:681)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:644)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:611)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:549)
xxl-job
com.xxl.rpc.util.XxlRpcException: java.lang.NullPointerException
at org.eclipse.jetty.io.ssl.SslClientConnectionFactory.newConnection(SslClientConnectionFactory.java:56)
at org.eclipse.jetty.client.AbstractHttpClientTransport$ClientSelectorManager.newConnection(AbstractHttpClientTransport.java:170)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.createEndPoint(SelectorManager.java:745)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processConnect(SelectorManager.java:681)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.processKey(SelectorManager.java:644)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.select(SelectorManager.java:611)
at org.eclipse.jetty.io.SelectorManager$ManagedSelector.run(SelectorManager.java:549)
at org.eclipse.jetty.util.thread.NonBlockingThread.run(NonBlockingThread.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
at com.xxl.rpc.remoting.invoker.reference.XxlRpcReferenceBean$1.invoke(XxlRpcReferenceBean.java:161)
at com.sun.proxy.$Proxy50.registry(Unknown Source)
at com.xxl.job.core.thread.ExecutorRegistryThread$1.run(ExecutorRegistryThread.java:48)
at java.lang.Thread.run(Thread.java:745)
Duack
@Duack
image.png
四月 29, 2019 10:38:52 上午 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
四月 29, 2019 10:38:52 上午 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2019-04-29 10:38:55 xxl-job-executor-sample-spring [com.xxl.rpc.remoting.net.Server]-[Thread-3]-[run]-[62]-[INFO] >>>>>>>>>>> xxl-rpc remoting server start success, nettype = com.xxl.rpc.remoting.net.impl.netty_http.server.NettyHttpServer, port = 8087
2019-04-29 10:38:56 xxl-job-executor-sample-spring [com.xxl.rpc.remoting.net.impl.netty_http.client.NettyHttpClientHandler]-[nioEventLoopGroup-4-1]-[exceptionCaught]-[53]-[ERROR] >>>>>>>>>>> xxl-rpc netty_http client caught exception
com.xxl.rpc.util.XxlRpcException: xxl-rpc request data empty.
at com.xxl.rpc.remoting.net.impl.netty_http.client.NettyHttpClientHandler.channelRead0(NettyHttpClientHandler.java:39)
at com.xxl.rpc.remoting.net.impl.netty_http.client.NettyHttpClientHandler.channelRead0(NettyHttpClientHandler.java:19)
2019-04-29 10:39:06 xxl-job-executor-sample-spring [com.xxl.rpc.remoting.invoker.reference.XxlRpcReferenceBean]-[xxl-job, executor ExecutorRegistryThread]-[invoke]-[225]-[INFO] >>>>>>>>>>> xxl-rpc, invoke error, address:http://127.0.0.1:8080/xxl-job-admin/api, XxlRpcRequestXxlRpcRequest{requestId='3dea258c-e341-4ee6-b931-73cba93cdc77', createMillisTime=1556505536064, accessToken='', className='com.xxl.job.core.biz.AdminBiz', methodName='registry', parameterTypes=[class com.xxl.job.core.biz.model.RegistryParam], parameters=[RegistryParam{registGroup='EXECUTOR', registryKey='xxl-job-executor-sample', registryValue='127.0.0.1:8087'}], version='null'}
2019-04-29 10:39:06 xxl-job-executor-sample-spring [com.xxl.job.core.thread.ExecutorRegistryThread]-[xxl-job, executor ExecutorRegistryThread]-[run]-[57]-[INFO] >>>>>>>>>>> xxl-job registry error, registryParam:RegistryParam{registGroup='EXECUTOR', registryKey='xxl-job-executor-sample', registryValue='127.0.0.1:8087'}
com.xxl.rpc.util.XxlRpcException: xxl-rpc, request timeout at:1556505546254, request:XxlRpcRequest{requestId='3dea258c-e341-4ee6-b931-73cba93cdc77', createMillisTime=1556505536064, accessToken='', className='com.xxl.job.core.biz.AdminBiz', methodName='registry', parameterTypes=[class com.xxl.job.core.biz.model.RegistryParam], parameters=[RegistryParam{registGroup='EXECUTOR', registryKey='xxl-job-executor-sample', registryValue='127.0.0.1:8087'}], version='null'}
at com.xxl.rpc.remoting.net.params.XxlRpcFutureResponse.get(XxlRpcFutureResponse.java:117)
at com.xxl.rpc.remoting.invoker.reference.XxlRpcReferenceBean$1.invoke(XxlRpcReferenceBean.java:219)
请问,遇到启动包这种错误,能提供下思路吗。第一次接触,有点糊涂。
jaoyina
@jaoyina
感觉是地址不对,网络没调通,导致注册失败
lbx335214
@lbx335214
任务分片的时候,任务每次执行的时候业务数据总量从数据库获取,而且数据量不固定,如何分片?
@xuxueli 任务分片的时候,任务每次执行的时候业务数据总量从数据库获取,而且数据量不固定,如何分片?
许雪里
@xuxueli
@Duack 回调地址估计配错了
@lbx335214 调度的时候根据分片参数取模就好了
immortalHuang
@immortalHuang
@xuxueli 我看了一下调度中心默认开启https,但是执行器注册的时候只支持http,是不是个bug
Reworld
@youzhanghao
请问各位,我用docker部署的tag是2.0.2版本,任务调度中心起来后,没有在操作栏看到glue模式
许雪里
@xuxueli
@immortalHuang 执行器回调地址可以配成http的,避免这个问题。
@youzhanghao 你好,只有GLUE模式任务才有GLUE IDE入口,新建任务的时候要选中GLUE模式;
xin wang
@wangxinpier
大家好,想问一下,如果分片执行,一个分片内的数据有问题,导致异常,想回滚当前任务的所有数据 ,可以支持吗?