@@ -43,7 +43,7 @@ if [ "$mode" == "boot" ]; then
43
43
--log-dir ./_logs1 \
44
44
--raft-api-port 28103 \
45
45
&
46
- python scripts/ci/wait_tcp.py --timeout 5 --port 9191
46
+ python3 scripts/ci/wait_tcp.py --timeout 5 --port 9191
47
47
48
48
nohup ./target/debug/databend-meta \
49
49
--id 2 \
@@ -55,7 +55,7 @@ if [ "$mode" == "boot" ]; then
55
55
--raft-api-port 28203 \
56
56
--join 127.0.0.1:28103 \
57
57
&
58
- python scripts/ci/wait_tcp.py --timeout 5 --port 28202
58
+ python3 scripts/ci/wait_tcp.py --timeout 5 --port 28202
59
59
60
60
nohup ./target/debug/databend-meta \
61
61
--id 3 \
@@ -67,7 +67,7 @@ if [ "$mode" == "boot" ]; then
67
67
--raft-api-port 28303 \
68
68
--join 127.0.0.1:28103 \
69
69
&
70
- python scripts/ci/wait_tcp.py --timeout 5 --port 28302
70
+ python3 scripts/ci/wait_tcp.py --timeout 5 --port 28302
71
71
72
72
else
73
73
83
83
--flight-api-address 0.0.0.0:9191 \
84
84
--log-dir ./_logs1 \
85
85
&
86
- python scripts/ci/wait_tcp.py --timeout 5 --port 9191
86
+ python3 scripts/ci/wait_tcp.py --timeout 5 --port 9191
87
87
88
88
nohup ./target/debug/databend-meta \
89
89
--raft-dir " ./_meta2" \
92
92
--flight-api-address 0.0.0.0:28202 \
93
93
--log-dir ./_logs2 \
94
94
&
95
- python scripts/ci/wait_tcp.py --timeout 5 --port 28202
95
+ python3 scripts/ci/wait_tcp.py --timeout 5 --port 28202
96
96
97
97
nohup ./target/debug/databend-meta \
98
98
--raft-dir " ./_meta3" \
@@ -101,26 +101,26 @@ else
101
101
--flight-api-address 0.0.0.0:28302 \
102
102
--log-dir ./_logs3 \
103
103
&
104
- python scripts/ci/wait_tcp.py --timeout 5 --port 28302
104
+ python3 scripts/ci/wait_tcp.py --timeout 5 --port 28302
105
105
106
106
fi
107
107
108
108
echo ' Start DatabendQuery node-1'
109
109
nohup target/debug/databend-query -c scripts/deploy/config/databend-query-node-1.toml &
110
110
111
111
echo " Waiting on node-1..."
112
- python scripts/ci/wait_tcp.py --timeout 5 --port 9091
112
+ python3 scripts/ci/wait_tcp.py --timeout 5 --port 9091
113
113
114
114
echo ' Start DatabendQuery node-2'
115
115
nohup target/debug/databend-query -c scripts/deploy/config/databend-query-node-2.toml &
116
116
117
117
echo " Waiting on node-2..."
118
- python scripts/ci/wait_tcp.py --timeout 5 --port 9092
118
+ python3 scripts/ci/wait_tcp.py --timeout 5 --port 9092
119
119
120
120
echo ' Start DatabendQuery node-3'
121
121
nohup target/debug/databend-query -c scripts/deploy/config/databend-query-node-3.toml &
122
122
123
123
echo " Waiting on node-3..."
124
- python scripts/ci/wait_tcp.py --timeout 5 --port 9093
124
+ python3 scripts/ci/wait_tcp.py --timeout 5 --port 9093
125
125
126
126
echo " All done..."
0 commit comments