zyanycall / stressTestPlatform

基于Jmeter实现的在线压测和管理Jmx的平台。
Apache License 2.0
623 stars 343 forks source link

分布式节点异步启动的异常问题 #45

Closed smooth00 closed 5 years ago

smooth00 commented 5 years ago

对于分布式节点启动时建议可能需加入异常状态,因为节点机关闭或是其他异常问题,在异步更新状态的情况下都不能正常提示,状态也不能正确更新。

2019-06-28 11:01:40.312 ERROR 3652 --- [async-service-4] .a.i.SimpleAsyncUncaughtExceptionHandler : Unexpected error occurred invoking async method 'public void io.renren.modules.test.service.impl.StressTestSlaveServiceImpl.updateBatchStatus(java.lang.Long,java.lang.Integer)'.

io.renren.common.exception.RRException: test48 节点机连接失败! at io.renren.modules.test.service.impl.StressTestSlaveServiceImpl.runOrDownSlave(StressTestSlaveServiceImpl.java:112) at io.renren.modules.test.service.impl.StressTestSlaveServiceImpl.updateBatchStatus(StressTestSlaveServiceImpl.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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)