-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sharding-proxy process disappear without any error log #5598
Comments
I tried again.proxy log
scaling log
|
@henrypoter
Please answer these questions straightforwardly and rawly without any analysis or process. Thanks. |
1I deploy proxy and scaling on a single centos server. And start with the default start.sh script. MySQL server is deployed seperatly. 2system info : [rocketmq@rocketmq182` ~]$ lscpu 3
4None 5proxy[rocketmq@rocketmq182 conf]$ cat server.yaml props: proxy sharding rule[rocketmq@rocketmq182 conf]$ cat config-sharding.yaml schemaName: biz_suite_hzm dataSources: shardingRule: scaling[rocketmq@rocketmq182 conf]$ cat server.yaml port: 8888 6About 5000w rows for sync. Thanks for you help. |
What's the JVM options for rocketmq? I want to know the memory oppucied by rocketmq. Anyway, -Xmx2g(proxy) + -Xmx2g(scaling) already exceed the memory of your host. We don't include the os + rocketmq memory yet. The memory is allocated over capacity, and may cause OutOfMemoryError. I suggest to deploy the proxy and scaling separately on two hosts. Or adjust the -Xmx to 1g or lower for each of proxy and scaling. After that, let's see whether your sync can be done. If the problem still exists, I'll provide further instructions to find out the root cause. |
I will try again.. |
I run only scaling and proxy on the centos again. I changed the jvm to -Xmx1024m -Xms1024m. And add HeapDumpOnOutOfMemoryError jvm parameters. This time, the sync job paused, but the proxy process is running. processsps -ef | grep sharding memory
proxy log[INFO ] 10:26:17.723 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0xd83f976b, L:/0.0.0.0:3307] READ COMPLETE scaling log[INFO ] 08:54:46.888 [nioEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x149d857a, L:/0.0.0.0:8888] READ: [id: 0xc3e4b571, L:/192.168.11.182:8888 - R:/192.168.11.123:60883] The last packet successfully received from the server was 7,875,080 milliseconds ago. The last packet sent successfully to the server was 7,875,068 milliseconds ago. |
The scaling job start script:
|
It seems like a connection leak. Can you re-run the job now and try to reproduce it? I want to know whether this problem can be reproduced. At the same time, I will try to find out the root cause. |
During the process, you can monitor the socket count by following:
I noticed that the last job running about 7800s. So please execute these commands above every several miniutes before the scaling is paused, and make a record. According to this record, we can determine if there's connection leak. |
@henrypoter It seem the mysql connection is disconnect when executing sql. During I check the hikari document, I find that if your driver lower than jdbc4, you have to set connectionTestQuery property. |
I use mysql-connector-java-5.1.47.jar . |
I have completed the sync job. Thanks for your help. |
Question
I use sharding-scaling and sharding-proxy to sync data from source db to destination db.
I deploy them on a centos os.
The proxy process disappear after few hours. However the proxy didn't write any exception/error log when it shutdown. It may shutdown at about 00:11
version: 4.1.0
Below is the log write by proxy:
[INFO ] 23:39:52.487 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [WARN ] 23:39:52.513 [epollEventLoopGroup-3-6] i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer [INFO ] 23:40:18.755 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0x9b706394, L:/127.0.0.1:3307 - R:/127.0.0.1:33576] [INFO ] 23:40:18.755 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 23:40:32.191 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0x4b045b9d, L:/127.0.0.1:3307 - R:/127.0.0.1:33580] [INFO ] 23:40:32.191 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 23:40:35.754 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0xe8639430, L:/127.0.0.1:3307 - R:/127.0.0.1:33582] [INFO ] 23:40:35.755 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 23:41:08.411 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0x8f4c86b4, L:/127.0.0.1:3307 - R:/127.0.0.1:33590] [INFO ] 23:41:08.412 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [WARN ] 23:41:08.436 [epollEventLoopGroup-3-4] i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer [INFO ] 23:41:19.858 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0xa17ac133, L:/127.0.0.1:3307 - R:/127.0.0.1:33596] [INFO ] 23:41:19.859 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [WARN ] 23:41:27.031 [epollEventLoopGroup-3-3] i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer [INFO ] 23:41:27.069 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0x120c715c, L:/127.0.0.1:3307 - R:/127.0.0.1:33598] [INFO ] 23:41:27.070 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 23:41:49.629 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0xe53cc33e, L:/127.0.0.1:3307 - R:/127.0.0.1:33608] [INFO ] 23:41:49.629 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [WARN ] 23:41:51.645 [epollEventLoopGroup-3-5] i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer [INFO ] 23:41:51.808 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0xdb41a9fe, L:/127.0.0.1:3307 - R:/127.0.0.1:33610] [INFO ] 23:41:51.825 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 00:08:31.111 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0xf9c2d943, L:/127.0.0.1:3307 - R:/127.0.0.1:33664] [INFO ] 00:08:31.236 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 00:09:25.133 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0x2aadfd43, L:/127.0.0.1:3307 - R:/127.0.0.1:33670] [INFO ] 00:09:25.133 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 00:09:36.643 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0x062d6eec, L:/127.0.0.1:3307 - R:/127.0.0.1:33672] [INFO ] 00:09:36.643 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 00:10:11.152 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0xdca104a6, L:/127.0.0.1:3307 - R:/127.0.0.1:33678] [INFO ] 00:10:11.153 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 00:10:32.341 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0xcedbf185, L:/127.0.0.1:3307 - R:/127.0.0.1:33682] [INFO ] 00:10:32.359 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 00:11:05.253 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0x452fea96, L:/127.0.0.1:3307 - R:/127.0.0.1:33694] [INFO ] 00:11:05.295 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 00:11:15.723 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0x7fa56ceb, L:/127.0.0.1:3307 - R:/127.0.0.1:33696] [INFO ] 00:11:15.724 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 00:11:18.771 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0x2f4cebbd, L:/127.0.0.1:3307 - R:/127.0.0.1:33700] [INFO ] 00:11:18.771 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 00:11:23.773 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0xc4e2b963, L:/127.0.0.1:3307 - R:/127.0.0.1:33704] [INFO ] 00:11:23.804 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE [INFO ] 00:11:24.216 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ: [id: 0xc52c7927, L:/127.0.0.1:3307 - R:/127.0.0.1:33706] [INFO ] 00:11:24.216 [epollEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x1d62fc97, L:/0.0.0.0:3307] READ COMPLETE
Below is the log write by scaling:
`[INFO ] 23:15:42.438 [nioEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x0727ce75, L:/0.0.0.0:8888] READ COMPLETE
[INFO ] 23:17:43.599 [nioEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x0727ce75, L:/0.0.0.0:8888] READ: [id: 0xf387f65d, L:/192.168.11.182:8888 - R:/192.168.11.123:56116]
[INFO ] 23:17:43.600 [nioEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x0727ce75, L:/0.0.0.0:8888] READ COMPLETE
[INFO ] 23:19:11.134 [nioEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x0727ce75, L:/0.0.0.0:8888] READ: [id: 0x26e88e39, L:/192.168.11.182:8888 - R:/192.168.11.123:56404]
[INFO ] 23:19:11.135 [nioEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x0727ce75, L:/0.0.0.0:8888] READ COMPLETE
[INFO ] 23:19:23.870 [nioEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x0727ce75, L:/0.0.0.0:8888] READ: [id: 0x8bf98155, L:/192.168.11.182:8888 - R:/192.168.11.123:56443]
[INFO ] 23:19:23.870 [nioEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x0727ce75, L:/0.0.0.0:8888] READ COMPLETE
[INFO ] 23:23:47.433 [nioEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x0727ce75, L:/0.0.0.0:8888] READ: [id: 0x7ddc9c86, L:/192.168.11.182:8888 - R:/192.168.11.123:57308]
[INFO ] 23:23:47.434 [nioEventLoopGroup-2-1] i.n.handler.logging.LoggingHandler - [id: 0x0727ce75, L:/0.0.0.0:8888] READ COMPLETE
[WARN ] 00:12:32.837 [pool-1-thread-22] c.zaxxer.hikari.pool.ProxyConnection - HikariPool-8 - Connection com.mysql.jdbc.JDBC4Connection@ea4b023 marked as broken because of SQLSTATE(08S01), ErrorCode(0)
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 1,116 milliseconds ago. The last packet sent successfully to the server was 1,114 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3562)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3462)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3905)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.executeInsert(AbstractJDBCWriter.java:128)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.flush(AbstractJDBCWriter.java:103)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.write(AbstractJDBCWriter.java:81)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.run(AbstractJDBCWriter.java:72)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:101)
at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:144)
at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:174)
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3011)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3472)
... 18 common frames omitted
[WARN ] 00:12:32.830 [pool-1-thread-19] c.zaxxer.hikari.pool.ProxyConnection - HikariPool-8 - Connection com.mysql.jdbc.JDBC4Connection@5429e4a0 marked as broken because of SQLSTATE(08S01), ErrorCode(0)
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 849 milliseconds ago. The last packet sent successfully to the server was 849 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3562)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3462)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3905)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.executeInsert(AbstractJDBCWriter.java:128)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.flush(AbstractJDBCWriter.java:103)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.write(AbstractJDBCWriter.java:81)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.run(AbstractJDBCWriter.java:72)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3014)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3472)
... 18 common frames omitted
[WARN ] 00:12:32.830 [pool-1-thread-17] c.zaxxer.hikari.pool.ProxyConnection - HikariPool-8 - Connection com.mysql.jdbc.JDBC4Connection@697ae574 marked as broken because of SQLSTATE(08S01), ErrorCode(0)
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 823 milliseconds ago. The last packet sent successfully to the server was 823 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3562)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3462)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3905)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.executeInsert(AbstractJDBCWriter.java:128)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.flush(AbstractJDBCWriter.java:103)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.write(AbstractJDBCWriter.java:81)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.run(AbstractJDBCWriter.java:72)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3014)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3472)
... 18 common frames omitted
[ERROR] 00:12:33.341 [pool-1-thread-19] o.a.s.s.c.e.e.SyncTaskExecuteCallback - HistoryDataSyncTask history-biz_suite-t_scheduling_time#9 execute exception exit
org.apache.shardingsphere.shardingscaling.core.exception.SyncTaskExecuteException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 849 milliseconds ago. The last packet sent successfully to the server was 849 milliseconds ago.
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.write(AbstractJDBCWriter.java:90)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.run(AbstractJDBCWriter.java:72)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 849 milliseconds ago. The last packet sent successfully to the server was 849 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3562)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3462)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3905)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.executeInsert(AbstractJDBCWriter.java:128)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.flush(AbstractJDBCWriter.java:103)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.write(AbstractJDBCWriter.java:81)
... 6 common frames omitted
Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3014)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3472)
... 18 common frames omitted
[ERROR] 00:12:33.341 [pool-1-thread-17] o.a.s.s.c.e.e.SyncTaskExecuteCallback - HistoryDataSyncTask history-biz_suite-t_scheduling_time#8 execute exception exit
org.apache.shardingsphere.shardingscaling.core.exception.SyncTaskExecuteException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 823 milliseconds ago. The last packet sent successfully to the server was 823 milliseconds ago.
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.write(AbstractJDBCWriter.java:90)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.run(AbstractJDBCWriter.java:72)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 823 milliseconds ago. The last packet sent successfully to the server was 823 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3562)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3462)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3905)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.executeInsert(AbstractJDBCWriter.java:128)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.flush(AbstractJDBCWriter.java:103)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.write(AbstractJDBCWriter.java:81)
... 6 common frames omitted
Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3014)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3472)
... 18 common frames omitted
[ERROR] 00:12:33.342 [pool-1-thread-22] o.a.s.s.c.e.e.SyncTaskExecuteCallback - HistoryDataSyncTask history-biz_suite-t_scheduling_time#0 execute exception exit
org.apache.shardingsphere.shardingscaling.core.exception.SyncTaskExecuteException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 1,116 milliseconds ago. The last packet sent successfully to the server was 1,114 milliseconds ago.
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.write(AbstractJDBCWriter.java:90)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.run(AbstractJDBCWriter.java:72)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 1,116 milliseconds ago. The last packet sent successfully to the server was 1,114 milliseconds ago.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3562)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3462)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3905)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.executeInsert(AbstractJDBCWriter.java:128)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.flush(AbstractJDBCWriter.java:103)
at org.apache.shardingsphere.shardingscaling.core.execute.executor.writer.AbstractJDBCWriter.write(AbstractJDBCWriter.java:81)
... 6 common frames omitted
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:101)
at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:144)
at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:174)
at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3011)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3472)
... 18 common frames omitted
[INFO ] 00:12:33.378 [pool-1-thread-19] o.a.s.s.c.c.task.SyncTaskController - history data migrate task historyGroup-biz_suite finished, execute result: EXCEPTION_EXIT
[INFO ] 00:12:33.379 [pool-1-thread-17] o.a.s.s.c.c.task.SyncTaskController - history data migrate task historyGroup-biz_suite finished, execute result: EXCEPTION_EXIT
[INFO ] 00:12:33.379 [pool-1-thread-22] o.a.s.s.c.c.task.SyncTaskController - history data migrate task historyGroup-biz_suite finished, execute result: EXCEPTION_EXIT
[INFO ] 00:12:33.457 [pool-1-thread-17] com.zaxxer.hikari.HikariDataSource - HikariPool-8 - Shutdown initiated...
[INFO ] 00:12:33.457 [pool-1-thread-22] com.zaxxer.hikari.HikariDataSource - HikariPool-7 - Shutdown initiated...
[INFO ] 00:12:33.457 [pool-1-thread-19] com.zaxxer.hikari.HikariDataSource - HikariPool-6 - Shutdown initiated...
[INFO ] 00:12:33.840 [pool-1-thread-19] com.zaxxer.hikari.HikariDataSource - HikariPool-6 - Shutdown completed.
[INFO ] 00:12:33.865 [pool-1-thread-22] com.zaxxer.hikari.HikariDataSource - HikariPool-7 - Shutdown completed.
[INFO ] 00:12:37.696 [pool-1-thread-17] com.zaxxer.hikari.HikariDataSource - HikariPool-8 - Shutdown completed.`
The text was updated successfully, but these errors were encountered: