From 31fcbbc4d3295d3316009ca95064b8e036a33771 Mon Sep 17 00:00:00 2001 From: Yang Xiufeng Date: Mon, 6 Jun 2022 18:16:06 +0800 Subject: [PATCH] fix ports --- docs/doc/10-deploy/00-local.md | 2 +- docs/doc/50-manage/01-query/10-query-config.md | 4 ++-- scripts/ci/deploy/config/databend-query-embedded-meta.toml | 4 ++-- scripts/kubernetes/query-cluster.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/doc/10-deploy/00-local.md b/docs/doc/10-deploy/00-local.md index 1b1f4515dcc0b..b7ae051d49578 100644 --- a/docs/doc/10-deploy/00-local.md +++ b/docs/doc/10-deploy/00-local.md @@ -142,7 +142,7 @@ clickhouse_handler_port = 9001 # Query ClickHouse HTTP Handler. clickhouse_http_handler_host = "127.0.0.1" -clickhouse_http_handler_port = 9001 +clickhouse_http_handler_port = 8125 # Query HTTP Handler. http_handler_host = "127.0.0.1" diff --git a/docs/doc/50-manage/01-query/10-query-config.md b/docs/doc/50-manage/01-query/10-query-config.md index 9e696fad7c1f9..4bff8b76d1ef0 100644 --- a/docs/doc/50-manage/01-query/10-query-config.md +++ b/docs/doc/50-manage/01-query/10-query-config.md @@ -100,13 +100,13 @@ If `endpoints` is configured, the `address` configuration will no longer take ef ### clickhouse_http_handler_host -* The IP address to listen on for ClickHouse handler, e.g., `0.0.0.0`. +* The IP address to listen on for ClickHouse HTTP handler, e.g., `0.0.0.0`. * Default: `"127.0.0.1"` * Env variable: `QUERY_CLICKHOUSE_HTTP_HANDLER_HOST` ### clickhouse_http_handler_port -* The port to listen on for ClickHouse handler, e.g., `8124`. +* The port to listen on for ClickHouse HTTP handler, e.g., `8124`. * Default: `8124` * Env variable: `QUERY_CLICKHOUSE_HTTP_HANDLER_PORT` diff --git a/scripts/ci/deploy/config/databend-query-embedded-meta.toml b/scripts/ci/deploy/config/databend-query-embedded-meta.toml index ce2759c356170..61c12b3169021 100644 --- a/scripts/ci/deploy/config/databend-query-embedded-meta.toml +++ b/scripts/ci/deploy/config/databend-query-embedded-meta.toml @@ -23,9 +23,9 @@ mysql_handler_port = 3307 clickhouse_handler_host = "0.0.0.0" clickhouse_handler_port = 9001 -# Databend Query ClickHouse Handler. +# Databend Query ClickHouse HTTP Handler. clickhouse_http_handler_host = "0.0.0.0" -clickhouse_http_handler_port = 8127 +clickhouse_http_handler_port = 8125 # Databend Query HTTP Handler. http_handler_host = "0.0.0.0" diff --git a/scripts/kubernetes/query-cluster.yaml b/scripts/kubernetes/query-cluster.yaml index a74498d6a34b3..906eb04a868cd 100644 --- a/scripts/kubernetes/query-cluster.yaml +++ b/scripts/kubernetes/query-cluster.yaml @@ -162,7 +162,7 @@ spec: - name: QUERY_CLICKHOUSE_HTTP_HANDLER_HOST value: "0.0.0.0" - name: QUERY_CLICKHOUSE_HTTP_HANDLER_PORT - value: "9000" + value: "8124" - name: QUERY_FLIGHT_API_ADDRESS value: "$(POD_IP):9090" envFrom: