tiup playground v5.0.0 --db 2 --pd 3 --kv 3 --monitor
tiup is checking updates for component playground …
Starting component playground
: /root/.tiup/components/playground/v1.9.4/tiup-playground /root/.tiup/components/playground/v1.9.4/tiup-playground v5.0.0 --db 2 --pd 3 --kv 3 --monitor
Flag --monitor has been deprecated, Please use --without-monitor to control whether to disable monitor.
Playground Bootstrapping…
Start pd instance:v5.0.0
Start pd instance:v5.0.0
Start pd instance:v5.0.0
Start tikv instance:v5.0.0
Start tikv instance:v5.0.0
Start tikv instance:v5.0.0
Start tidb instance:v5.0.0
Start tidb instance:v5.0.0
Waiting for tidb instances ready
127.0.0.1:4000 … Done
127.0.0.1:4001 … Done
Start tiflash instance:v5.0.0
The component tiflash
version v5.0.0 is not installed; downloading from repository.
download https://tiup-mirrors.pingcap.com/tiflash-v5.0.0-linux-amd64.tar.gz 407.93 MiB / 407.93 MiB 100.00% 2.42 MiB/s
Waiting for tiflash instances ready
127.0.0.1:3930 … ⠏
tikv quit: signal: killed
[2022/04/18 17:21:14.377 +08:00] [INFO] [peer.rs:780] [“begin to destroy”] [peer_id=17] [region_id=16]
[2022/04/18 17:21:14.377 +08:00] [INFO] [region.rs:517] [“delete data in range because of stale”] [end_key=7A7480000000000000FF2F00000000000000F8] [start_key=7A7480000000000000FF2D00000000000000F8] [region_id=48]
[2022/04/18 17:21:14.377 +08:00] [INFO] [peer_storage.rs:1517] [“finish clear peer meta”] [takes=11.65µs] [raft_key=1] [apply_key=1] [meta_key=1] [region_id=16]
[2022/04/18 17:21:14.377 +08:00] [INFO] [pd.rs:937] [“remove peer statistic record in pd”] [region_id=16]
[2022/04/18 17:21:14.378 +08:00] [INFO] [peer.rs:820] [“peer destroy itself”] [takes=1.037568ms] [peer_id=17] [region_id=16]
[2022/04/18 17:21:14.378 +08:00] [INFO] [router.rs:271] ["[region 16] shutdown mailbox"]
[2022/04/18 17:21:14.378 +08:00] [INFO] [region.rs:485] [“register deleting data in range”] [end_key=7A7480000000000000FF0F00000000000000F8] [start_key=7A7480000000000000FF0D00000000000000F8] [region_id=16]
[2022/04/18 17:21:14.378 +08:00] [INFO] [region.rs:517] [“delete data in range because of stale”] [end_key=7A7480000000000000FF0F00000000000000F8] [start_key=7A7480000000000000FF0D00000000000000F8] [region_id=16]
[2022/04/18 17:24:09.611 +08:00] [WARN] [store.rs:691] ["[store 1] handle 2 pending peers include 0 ready, 0 entries, 0 messages and 0 snapshots"] [takes=1020]
[2022/04/18 17:24:12.262 +08:00] [WARN] [store.rs:691] ["[store 1] handle 2 pending peers include 0 ready, 0 entries, 0 messages and 0 snapshots"] [takes=1410]
Waiting for tiflash instances ready
127.0.0.1:3930 … ⠧
tiflash quit: exit status 70
Logging debug to /root/.tiup/data/T3LY41s/tiflash-0/log/tiflash.log
Logging errors to /root/.tiup/data/T3LY41s/tiflash-0/log/tiflash_error.log
Waiting for tiflash instances ready
127.0.0.1:3930 … Error
CLUSTER START SUCCESSFULLY, Enjoy it ^-^
To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u root -p (no password)
To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u root -p (no password)
To view the dashboard: http://127.0.0.1:2379/dashboard
PD client endpoints: [127.0.0.1:2379 127.0.0.1:2382 127.0.0.1:2384]
To view the Prometheus: http://127.0.0.1:9090
To view the Grafana: http://127.0.0.1:3000
[root@localhost ~]# more /root/.tiup/data/T3LY41s/tiflash-0/log/tiflash_error.log
2022.04.18 17:24:14.693850 [ 1 ] Application: The configuration “path” is deprecated. Check [storage] section for new style.
2022.04.18 17:24:15.079996 [ 1 ] pingcap.pd: failed to get cluster id by :http://127.0.0.1:2379
2022.04.18 17:24:15.084488 [ 1 ] pingcap.pd: failed to get cluster id by :http://127.0.0.1:2382
2022.04.18 17:24:15.087114 [ 1 ] pingcap.pd: failed to get cluster id by :http://127.0.0.1:2384
2022.04.18 17:24:15.474333 [ 1 ] Application: Exception: failed to update leader
没看懂这几个端口干什么用的,毕竟初学者,发帖记录一下。