在对Tidb 使用tidb-lightning 数据导入40G一张表数据,大约导入5%, tikv 集群显示无法连接,对整个集群关闭,再起后,tidb起不了
retry error: operation timed out after 2m0s
tidb 192.168.0.62:4000 failed to start: timed out waiting for port 4000 to be started after 2m0s, please check the log of the instance
Error: failed to start tidb: tidb 192.168.0.163:4000 failed to start: timed out waiting for port 4000 to be started after 2m0s, please check the log of the instance: timed out waiting for port 4000 to be started after 2m0s
查看日志
/data/tidb_cluster/tidb/deploy/tidb-4000/log
[root@62 log]# tail -f tidb.log
ed"]
[2020/10/22 17:12:36.160 +08:00] [INFO] [client_batch.go:314] [“batchRecvLoop re-create streaming fail”] [target=192.168.0.163:20160] [error=“context deadline exceeded”]
[2020/10/22 17:12:36.453 +08:00] [INFO] [client_batch.go:314] [“batchRecvLoop re-create streaming fail”] [target=192.168.0.161:20160] [error=“context deadline exceeded”]
[2020/10/22 17:12:36.453 +08:00] [INFO] [client_batch.go:314] [“batchRecvLoop re-create streaming fail”] [target=192.168.0.161:20160] [error=“context deadline exceeded”]
[ Serial ] - StartCluster
Starting component pd
Starting instance pd 192.168.0.163:2379
Starting instance pd 192.168.0.161:2379
Starting instance pd 192.168.0.62:2379
Start pd 192.168.0.161:2379 success
Start pd 192.168.0.163:2379 success
Start pd 192.168.0.62:2379 success
Starting component node_exporter
Starting instance 192.168.0.161
Start 192.168.0.161 success
Starting component blackbox_exporter
Starting instance 192.168.0.161
Start 192.168.0.161 success
Starting component node_exporter
Starting instance 192.168.0.62
Start 192.168.0.62 success
Starting component blackbox_exporter
Starting instance 192.168.0.62
Start 192.168.0.62 success
Starting component node_exporter
Starting instance 192.168.0.163
Start 192.168.0.163 success
Starting component blackbox_exporter
Starting instance 192.168.0.163
Start 192.168.0.163 success
Starting component tikv
Starting instance tikv 192.168.0.163:20160
Starting instance tikv 192.168.0.161:20160
Starting instance tikv 192.168.0.62:20610
Start tikv 192.168.0.161:20160 success
Start tikv 192.168.0.163:20160 success
Start tikv 192.168.0.62:20610 success
Starting component tidb
Starting instance tidb 192.168.0.163:4000
Starting instance tidb 192.168.0.161:4000
Starting instance tidb 192.168.0.62:4000
retry error: operation timed out after 2m0s
tidb 192.168.0.62:4000 failed to start: timed out waiting for port 4000 to be started after 2m0s, please check the log of the instance
retry error: operation timed out after 2m0s
tidb 192.168.0.163:4000 failed to start: timed out waiting for port 4000 to be started after 2m0s, please check the log of the instance
retry error: operation timed out after 2m0s
tidb 192.168.0.161:4000 failed to start: timed out waiting for port 4000 to be started after 2m0s, please check the log of the instance
Error: failed to start tidb: tidb 192.168.0.62:4000 failed to start: timed out waiting for port 4000 to be started after 2m0s, please check the log of the instance: timed out waiting for port 4000 to be started after 2m0s
Verbose debug logs has been written to /home/tidb/logs/tiup-cluster-debug-2020-10-23-09-27-19.log.
Error: run /home/tidb/.tiup/components/cluster/v1.2.0/tiup-cluster (wd:/home/tidb/.tiup/data/SECRN16) failed: exit status 1
[tidb@161 ~]$
[tidb@161 ~]$ tiup cluster display luban
Starting component cluster: /home/tidb/.tiup/components/cluster/v1.2.0/tiup-cluster display luban
Cluster type: tidb
Cluster name: luban
Cluster version: v4.0.6
SSH type: builtin
ID Role Host Ports OS/Arch Status Data Dir Deploy Dir