Skip to content

Commit 265e2c7

Browse files
authored
Merge pull request #7426 from TCeason/ISSUE-7422/unify-port
docs: unify port, equal with query-config.md
2 parents e7e7e2b + e6dfebc commit 265e2c7

File tree

6 files changed

+19
-25
lines changed

6 files changed

+19
-25
lines changed

docker/databend-query-docker.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ max_active_sessions = 256
66
wait_timeout_mills = 5000
77

88
# For flight rpc.
9-
flight_api_address = "0.0.0.0:9091"
9+
flight_api_address = "0.0.0.0:9090"
1010

1111
# Databend Query http address.
1212
# For admin RESET API.
13-
admin_api_address = "0.0.0.0:8081"
13+
admin_api_address = "0.0.0.0:8080"
1414

1515
# Databend Query metrics RESET API.
16-
metric_api_address = "0.0.0.0:7071"
16+
metric_api_address = "0.0.0.0:7070"
1717

1818
# Databend Query MySQL Handler.
1919
mysql_handler_host = "0.0.0.0"
@@ -22,11 +22,11 @@ mysql_handler_port = 3307
2222

2323
# Databend Query ClickHouse HTTP Handler.
2424
clickhouse_http_handler_host = "0.0.0.0"
25-
clickhouse_http_handler_port = 8125
25+
clickhouse_http_handler_port = 8124
2626

2727
# Databend Query HTTP Handler.
2828
http_handler_host = "0.0.0.0"
29-
http_handler_port = 8001
29+
http_handler_port = 8000
3030

3131
tenant_id = "test_tenant"
3232
cluster_id = "test_cluster"

docs/doc/50-manage/01-query/10-query-config.md

-6
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,6 @@ If `endpoints` is configured, the `address` configuration will no longer take ef
9292
* Default: `"127.0.0.1"`
9393
* Env variable: `QUERY_CLICKHOUSE_HANDLER_HOST`
9494

95-
### clickhouse_handler_port
96-
97-
* The port to listen on for ClickHouse handler, e.g., `9000`.
98-
* Default: `9000`
99-
* Env variable: `QUERY_CLICKHOUSE_HANDLER_PORT`
100-
10195
### clickhouse_http_handler_host
10296

10397
* The IP address to listen on for ClickHouse HTTP handler, e.g., `0.0.0.0`.

scripts/ci/deploy/config/databend-query-embedded-meta.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@ max_active_sessions = 256
66
wait_timeout_mills = 5000
77

88
# For flight rpc.
9-
flight_api_address = "0.0.0.0:9091"
9+
flight_api_address = "0.0.0.0:9090"
1010

1111
# Databend Query http address.
1212
# For admin RESET API.
13-
admin_api_address = "0.0.0.0:8081"
13+
admin_api_address = "0.0.0.0:8080"
1414

1515
# Databend Query metrics RESET API.
16-
metric_api_address = "0.0.0.0:7071"
16+
metric_api_address = "0.0.0.0:7070"
1717

1818
# Databend Query MySQL Handler.
1919
mysql_handler_host = "0.0.0.0"
2020
mysql_handler_port = 3307
2121

2222
# Databend Query ClickHouse HTTP Handler.
2323
clickhouse_http_handler_host = "0.0.0.0"
24-
clickhouse_http_handler_port = 8125
24+
clickhouse_http_handler_port = 8124
2525

2626
# Databend Query HTTP Handler.
2727
http_handler_host = "0.0.0.0"
28-
http_handler_port = 8001
28+
http_handler_port = 8000
2929

3030
tenant_id = "test_tenant"
3131
cluster_id = "test_cluster"

scripts/ci/deploy/config/databend-query-node-1.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@ max_active_sessions = 256
66
wait_timeout_mills = 5000
77

88
# For flight rpc.
9-
flight_api_address = "0.0.0.0:9091"
9+
flight_api_address = "0.0.0.0:9090"
1010

1111
# Databend Query http address.
1212
# For admin RESET API.
13-
admin_api_address = "0.0.0.0:8081"
13+
admin_api_address = "0.0.0.0:8080"
1414

1515
# Databend Query metrics RESET API.
16-
metric_api_address = "0.0.0.0:7071"
16+
metric_api_address = "0.0.0.0:7070"
1717

1818
# Databend Query MySQL Handler.
1919
mysql_handler_host = "0.0.0.0"
2020
mysql_handler_port = 3307
2121

2222
# Databend Query ClickHouse Handler.
2323
clickhouse_http_handler_host = "0.0.0.0"
24-
clickhouse_http_handler_port = 8125
24+
clickhouse_http_handler_port = 8124
2525

2626
# Databend Query HTTP Handler.
2727
http_handler_host = "0.0.0.0"
28-
http_handler_port = 8001
28+
http_handler_port = 8000
2929

3030
tenant_id = "test_tenant"
3131
cluster_id = "test_cluster"

tests/logictest/config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
http_config = {
1212
'user': 'root',
1313
'host': '127.0.0.1',
14-
"port": 8001,
14+
"port": 8000,
1515
'database': 'default',
1616
}
1717

1818
clickhouse_config = {
1919
'user': 'root',
2020
'password': '',
2121
'host': '127.0.0.1',
22-
"port": 8125,
22+
"port": 8124,
2323
'database': 'default',
2424
}
2525

tests/shell_env.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export AWS_EC2_METADATA_DISABLED=true
77
export MYSQL_DATABASE=${MYSQL_DATABASE:="default"}
88
export QUERY_MYSQL_HANDLER_HOST=${QUERY_MYSQL_HANDLER_HOST:="127.0.0.1"}
99
export QUERY_MYSQL_HANDLER_PORT=${QUERY_MYSQL_HANDLER_PORT:="3307"}
10-
export QUERY_HTTP_HANDLER_PORT=${QUERY_HTTP_HANDLER_PORT:="8001"}
11-
export QUERY_CLICKHOUSE_HTTP_HANDLER_PORT=${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT:="8125"}
10+
export QUERY_HTTP_HANDLER_PORT=${QUERY_HTTP_HANDLER_PORT:="8000"}
11+
export QUERY_CLICKHOUSE_HTTP_HANDLER_PORT=${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT:="8124"}
1212

1313
export MYSQL_CLIENT_CONNECT="mysql -uroot --host ${QUERY_MYSQL_HANDLER_HOST} --port ${QUERY_MYSQL_HANDLER_PORT} ${MYSQL_DATABASE} -s"
1414

0 commit comments

Comments
 (0)