This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 6985663d758 [docs](install) Fix typo and update download link (#1215) 6985663d758 is described below commit 6985663d758ef74b177cab987418a5e084a8020f Author: KassieZ <139741991+kass...@users.noreply.github.com> AuthorDate: Mon Oct 21 14:23:58 2024 +0800 [docs](install) Fix typo and update download link (#1215) # Versions - [ ] dev - [ ] 3.0 - [x] 2.1 - [ ] 2.0 # Languages - [x] Chinese - [x] English --- common_docs_zh/releasenotes/v2.1/release-2.1.0.md | 37 +++-- .../k8s-deploy/install-config-cluster.md | 1 + .../k8s-deploy/install-doris-cluster.md | 171 +++++++++++---------- src/constant/download.data.ts | 19 +++ 4 files changed, 127 insertions(+), 101 deletions(-) diff --git a/common_docs_zh/releasenotes/v2.1/release-2.1.0.md b/common_docs_zh/releasenotes/v2.1/release-2.1.0.md index 8882cbb2644..feb8d853730 100644 --- a/common_docs_zh/releasenotes/v2.1/release-2.1.0.md +++ b/common_docs_zh/releasenotes/v2.1/release-2.1.0.md @@ -103,8 +103,8 @@ under the License.  -:::note -参考文档:[Pipeline X 执行引擎](../../query-acceleration/pipeline-execution-engine) +:::note 备注 +参考文档:[Pipeline X 执行引擎](https://doris.apache.org/zh-CN/docs/query-acceleration/pipeline-execution-engine) ::: ## ARM 架构深度适配,性能提升 230% @@ -143,7 +143,8 @@ under the License. :::note - 演示 Demo: https://www.bilibili.com/video/BV1cS421A7kA/?spm_id_from=333.999.0.0 -- 参考文档:[SQL 方言兼容](../../lakehouse/sql-dialect.md) +- 参考文档:[SQL 方言兼容](https://doris.apache.org/zh-CN/docs/lakehouse/sql-dialect.md) + ::: ### 高速数据读取,数据传输效率提升 100 倍 @@ -301,8 +302,7 @@ CREATE MATERIALIZED VIEW mv1 :::note - 演示 Demo: https://www.bilibili.com/video/BV1s2421T71z/?spm_id_from=333.999.0.0 - -- 参考文档:[异步物化视图](../../query-acceleration/materialized-view/async-materialized-view/overview) +- 参考文档:[异步物化视图](https://doris.apache.org/zh-CN/docs/query-acceleration/materialized-view/async-materialized-view/overview) ::: ## 存储能力增强 @@ -407,7 +407,8 @@ PROPERTIES ( ::: :::note -参考文档:[分区分桶](../../table-design/data-partition) + +参考文档:[分区分桶](https://doris.apache.org/zh-CN/docs/table-design/data-partition) ::: ### INSERT INTO SELECT 导入性能提升 100% @@ -469,7 +470,8 @@ MemTable 前移在 2.1 版本中默认开启,用户无需修改原有的导入 :::note - 演示 Demo:https://www.bilibili.com/video/BV1um411o7Ha/?spm_id_from=333.999.0.0 -- 参考文档和完整测试报告:[Group Commit](../../data-operate/import/import-way/group-commit-manual) +- 参考文档和完整测试报告:[Group Commit](https://doris.apache.org/zh-CN/docs/data-operate/import/import-way/group-commit-manual) + ::: ## 半结构化数据分析 @@ -540,7 +542,8 @@ SELECT v["properties"]["title"] from ${table_name} :::note - 演示 Demo: https://www.bilibili.com/video/BV13u4m1g7ra/?spm_id_from=333.999.0.0 -- 参考文档:[VARIANT](../../sql-manual/sql-data-types/semi-structured/VARIANT.md) +- 参考文档:[VARIANT](https://doris.apache.org/zh-CN/docs/sql-manual/sql-data-types/semi-structured/VARIANT.md) + ::: ### IP 数据类型 @@ -554,7 +557,8 @@ SELECT v["properties"]["title"] from ${table_name} - INET_ATON:获取包含 IPv4 地址的字符串,格式为 A.B.C.D(点分隔的十进制数字) :::note -参考文档:[IPV6](../../sql-manual/sql-data-types/ip/IPV6) +参考文档:[IPV6](https://doris.apache.org/zh-CN/docs/sql-manual/sql-data-types/ip/IPV6) + ::: ### 复杂数据类型分析函数完善 @@ -670,7 +674,7 @@ mysql> select struct(1,"2") not in (struct(1,3), struct(1,"2"), struct(1,1), nul - `MAP_AGG`:接收 expr1 作为键,expr2 作为对应的值,返回一个 MAP :::note -参考文档:[MAP_AGG](../sql-manual/sql-functions/aggregate-functions/map-agg.md) +参考文档:[MAP_AGG](https://doris.apache.org/zh-CN/docs/sql-manual/sql-functions/aggregate-functions/map-agg.md) ::: @@ -695,8 +699,8 @@ mysql> select struct(1,"2") not in (struct(1,3), struct(1,"2"), struct(1,1), nul :::note - 演示 Demo:https://www.bilibili.com/video/BV1Fz421X7XE/?spm_id_from=333.999.0.0 +- 参考文档:[Workload Group](https://doris.apache.org/zh-CN/docs/admin-manual/resource-admin/workload-group.md) -- 参考文档:[Workload Group](../../admin-manual/resource-admin/workload-group.md) ::: ### TopSQL @@ -753,7 +757,7 @@ select QueryId,max(BePeakMemoryBytes) as be_peak_mem from active_queries() group 目前主要展示的负载类型包括 Select 和`Insert Into……Select`,预计在 2.1 版本之上的三位迭代版本中会支持 Stream Load 和 Broker Load 的资源用量展示。 :::note -参考文档:[ACTIVE_QUERIES](../../sql-manual/sql-functions/table-functions/active_queries.md) +参考文档:[ACTIVE_QUERIES](https://doris.apache.org/zh-CN/docs/sql-manual/sql-functions/table-functions/active_queries.md) ::: @@ -852,10 +856,10 @@ JOB e_daily FROM site_activity.sessions where create_time >= days_add(now(),-1) ; ``` -:::caution -注意事项 +:::caution 注意事项 + +当前 Job Scheduler 仅支持 Insert 内表,参考文档:[CREATE-JOB](https://doris.apache.org/zh-CN/docs/sql-manual/sql-statements/Data-Definition-Statements/Create/CREATE-JOB.md) -当前 Job Scheduler 仅支持 Insert 内表,参考文档:[CREATE-JOB](../../sql-manual/sql-statements/Data-Definition-Statements/Create/CREATE-JOB.md) ::: ## Behavior Changed @@ -874,7 +878,8 @@ JOB e_daily - 对于之前已经安装过审计日志插件的用户,升级后可以继续使用原有插件,也可以通过 uninstall 命令卸载原有插件后,使用新的插件。但注意,切换插件后,审计日志表也将切换到新的表中。 - - 具体可参阅:[审计日志插件](../../admin-manual/audit-plugin.md) + - 具体可参阅:[审计日志插件](https://doris.apache.org/zh-CN/docs/admin-manual/audit-plugin.md) + diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/install/cluster-deployment/k8s-deploy/install-config-cluster.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/install/cluster-deployment/k8s-deploy/install-config-cluster.md index e95b2f11f9b..08d988a8a32 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/install/cluster-deployment/k8s-deploy/install-config-cluster.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/install/cluster-deployment/k8s-deploy/install-config-cluster.md @@ -23,6 +23,7 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> + ## 配置数据及持久化存储 在 Doris 集群中,包括 FE、BE、CN 和监控组件在内的组件都需要将数据持久化到物理存储中。Kubernetes 提供了 [Persistent Volumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/) 的能力将数据持久化到物理存储中。在 Kubernetes 环境中,主要存在两种类型的 Persistent Volumes: diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/install/cluster-deployment/k8s-deploy/install-doris-cluster.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/install/cluster-deployment/k8s-deploy/install-doris-cluster.md index a0e2efb38d0..f35d7f87ef4 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/install/cluster-deployment/k8s-deploy/install-doris-cluster.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/install/cluster-deployment/k8s-deploy/install-doris-cluster.md @@ -32,148 +32,148 @@ under the License. **在线部署** -在线署集群需要经过以下步骤: +在线部署集群需要经过以下步骤: 1. 创建 namespace: -```shell -kubectl create namespace ${namespace} -``` + ```shell + kubectl create namespace ${namespace} + ``` 2. 部署 Doris 集群 -```shell -kubectl apply -f ./${cluster_sample}.yaml -n ${namespace} -``` + ```shell + kubectl apply -f ./${cluster_sample}.yaml -n ${namespace} + ``` **离线部署** -离线部署 Doris 集群需要在有外网的机器上将 Doris 集群用到的 docker 镜像,上传到所有的 node 节点上。然后使用 docker load 将镜像安装到服务器上。离线部署需要经历以下步骤: +离线部署 Doris 集群需要在有外网的机器上将 Doris 集群用到的 Docker 镜像,上传到所有的 Node 节点上。然后使用 Docker Load 将镜像安装到服务器上。离线部署需要经历以下步骤: 1. 下载所需的镜像 -部署 Doris 集群需要以下镜像: + 部署 Doris 集群需要以下镜像: -```text -selectdb/doris.fe-ubuntu:2.0.2 -selectdb/doris.be-ubuntu:2.0.2 -``` + ```shell + selectdb/doris.fe-ubuntu:2.0.2 + selectdb/doris.be-ubuntu:2.0.2 + ``` -将镜像下载到本地后打包成 tar 文件 + 将镜像下载到本地后打包成 tar 文件 -```shell -## download docker image -docker pull selectdb/doris.fe-ubuntu:2.0.2 -docker pull selectdb/doris.be-ubuntu:2.0.2 + ```shell + ## download docker image + docker pull selectdb/doris.fe-ubuntu:2.0.2 + docker pull selectdb/doris.be-ubuntu:2.0.2 -## save docker image as a tar package -docker save -o doris.fe-ubuntu-v2.0.2.tar selectdb/doris.fe-ubuntu:2.0.2 -docker save -o doris.be-ubuntu-v2.0.2.tar docker pull selectdb/doris.be-ubuntu:2.0.2 -``` + ## save docker image as a tar package + docker save -o doris.fe-ubuntu-v2.0.2.tar selectdb/doris.fe-ubuntu:2.0.2 + docker save -o doris.be-ubuntu-v2.0.2.tar docker pull selectdb/doris.be-ubuntu:2.0.2 + ``` -将 image tar 包上传到服务器上,执行 docker load 命令: + 将 Image Tar 包上传到服务器上,执行 Docker Load 命令: -```shell -## load docker image -docker load -i doris.fe-ubuntu-v2.0.2.tar -docker load -i doris.be-ubuntu-v2.0.2.tar -``` + ```shell + ## load docker image + docker load -i doris.fe-ubuntu-v2.0.2.tar + docker load -i doris.be-ubuntu-v2.0.2.tar + ``` 2. 创建 namespace: -```shell -kubectl create namespace ${namespace} -``` + ```shell + kubectl create namespace ${namespace} + ``` 3. 部署 Doris 集群 -```shell -kubectl apply -f ./${cluster_sample}.yaml -n ${namespace} -``` + ```shell + kubectl apply -f ./${cluster_sample}.yaml -n ${namespace} + ``` ### 使用 Helm 部署 **在线部署** -在安装开始前,需要添加部署仓库,若已经添加则可直接进行 Doris Cluster 的安装,否则请参考添加[部署 Doris Operator](./install-operator.md#%E6%96%B9%E6%A1%88%E4%B8%89helm-%E9%83%A8%E7%BD%B2-doris-operator) 时 **添加部署仓库** 的操作 +在安装开始前,需要添加部署仓库,若已经添加则可直接进行 Doris Cluster 的安装,否则请参考添加[部署 Doris Operator](./install-operator#方案一快速部署-doris-operator) 时 **添加部署仓库** 的操作 1. 安装 Doris Cluster -安装 [doriscluster](https://artifacthub.io/packages/helm/doris/doris),使用默认配置此部署仅部署 3 个 FE 和 3 个 BE 组件,使用默认 `storageClass` 实现 PV 动态供给。 + 安装 [doriscluster](https://artifacthub.io/packages/helm/doris/doris),使用默认配置此部署仅部署 3 个 FE 和 3 个 BE 组件,使用默认 `storageClass` 实现 PV 动态供给。 -```shell -helm install doriscluster doris-repo/doris -``` + ```shell + helm install doriscluster doris-repo/doris + ``` -如果需要自定义资源和集群形态,请根据 [values.yaml](https://artifacthub.io/packages/helm/doris/doris?modal=values) 的各个资源配置的注解自定义资源配置,并执行如下命令: + 如果需要自定义资源和集群形态,请根据 [values.yaml](https://artifacthub.io/packages/helm/doris/doris?modal=values) 的各个资源配置的注解自定义资源配置,并执行如下命令: -```shell -helm install -f values.yaml doriscluster doris-repo/doris -``` + ```shell + helm install -f values.yaml doriscluster doris-repo/doris + ``` -2. 验证 doris 集群安装结果 +2. 验证 Doris 集群安装结果 -通过 `kubectl get pods` 命令可以查看 pod 部署状态。当 `doriscluster` 的 Pod 处于 `Running` 状态且 Pod 内所有容器都已经就绪,即部署成功。 + 通过 `kubectl get pods` 命令可以查看 pod 部署状态。当 `doriscluster` 的 Pod 处于 `Running` 状态且 Pod 内所有容器都已经就绪,即部署成功。 -```shell -kubectl get pod --namespace doris -``` + ```shell + kubectl get pod --namespace doris + ``` -返回结果如下: + 返回结果如下: -```shell -NAME READY STATUS RESTARTS AGE -doriscluster-helm-fe-0 1/1 Running 0 1m39s -doriscluster-helm-fe-1 1/1 Running 0 1m39s -doriscluster-helm-fe-2 1/1 Running 0 1m39s -doriscluster-helm-be-0 1/1 Running 0 16s -doriscluster-helm-be-1 1/1 Running 0 16s -doriscluster-helm-be-2 1/1 Running 0 16s -``` + ```shell + NAME READY STATUS RESTARTS AGE + doriscluster-helm-fe-0 1/1 Running 0 1m39s + doriscluster-helm-fe-1 1/1 Running 0 1m39s + doriscluster-helm-fe-2 1/1 Running 0 1m39s + doriscluster-helm-be-0 1/1 Running 0 16s + doriscluster-helm-be-1 1/1 Running 0 16s + doriscluster-helm-be-2 1/1 Running 0 16s + ``` **离线部署** 1. 下载 Doris Cluster Chart 资源 -下载 `doris-{chart_version}.tgz` 安装 Doris Cluster chart。如需要下载 2.0.6 版本的 Doris 集群可以使用以下命令: + 下载 `doris-{chart_version}.tgz` 安装 Doris Cluster chart。如需要下载 2.0.6 版本的 Doris 集群可以使用以下命令: -```shell -wget https://charts.selectdb.com/doris-2.0.6.tgz -``` + ```shell + wget https://charts.selectdb.com/doris-2.0.6.tgz + ``` 2. 安装 Doris 集群 -通过 `helm install` 命令可以安装 Doris 集群。 + 通过 `helm install` 命令可以安装 Doris 集群。 -```shell -helm install doriscluster doris-1.4.0.tgz -``` + ```shell + helm install doriscluster doris-1.4.0.tgz + ``` -如果需要自定义装配 [values.yaml](https://artifacthub.io/packages/helm/doris/doris?modal=values) ,可以参考如下命令: + 如果需要自定义装配 [values.yaml](https://artifacthub.io/packages/helm/doris/doris?modal=values) ,可以参考如下命令: -```shell -helm install -f values.yaml doriscluster doris-1.4.0.tgz -``` + ```shell + helm install -f values.yaml doriscluster doris-1.4.0.tgz + ``` 3. 验证 doris 集群安装结果 -通过 `kubectl get pods` 命令可以查看 pod 部署状态。当 `doriscluster` 的 Pod 处于 `Running` 状态且 Pod 内所有容器都已经就绪,即部署成功。 + 通过 `kubectl get pods` 命令可以查看 pod 部署状态。当 `doriscluster` 的 Pod 处于 `Running` 状态且 Pod 内所有容器都已经就绪,即部署成功。 -```shell -kubectl get pod --namespace doris -``` + ```shell + kubectl get pod --namespace doris + ``` -返回结果如下: + 返回结果如下: -```shell -NAME READY STATUS RESTARTS AGE -doriscluster-helm-fe-0 1/1 Running 0 1m39s -doriscluster-helm-fe-1 1/1 Running 0 1m39s -doriscluster-helm-fe-2 1/1 Running 0 1m39s -doriscluster-helm-be-0 1/1 Running 0 16s -doriscluster-helm-be-1 1/1 Running 0 16s -doriscluster-helm-be-2 1/1 Running 0 16s -``` + ```shell + NAME READY STATUS RESTARTS AGE + doriscluster-helm-fe-0 1/1 Running 0 1m39s + doriscluster-helm-fe-1 1/1 Running 0 1m39s + doriscluster-helm-fe-2 1/1 Running 0 1m39s + doriscluster-helm-be-0 1/1 Running 0 16s + doriscluster-helm-be-1 1/1 Running 0 16s + doriscluster-helm-be-2 1/1 Running 0 16s + ``` ## 查看集群状态 @@ -193,7 +193,8 @@ doriscluster-sample-fe-0 1/1 Running 0 20m doriscluster-sample-be-0 1/1 Running 0 19m ``` -当所有 pod 的 `STATUS` 都是 `Running` 状态, 且所有组件的 pod 中所有容器都 `READY` 表示整个集群部署正常。 + +当所有 pod 的 `STATUS` 都是 `Running`,且 READY 列为 `1/1` 时,表示整个集群部署正常。 ### 检查部署资源状态 diff --git a/src/constant/download.data.ts b/src/constant/download.data.ts index ff62c9b3e23..a28f9bbd817 100644 --- a/src/constant/download.data.ts +++ b/src/constant/download.data.ts @@ -1512,6 +1512,25 @@ export const TOOL_VERSIONS = [ ], source: 'https://downloads.apache.org/doris/doris-streamloader/1.0.1/apache-doris-streamloader-1.0.1-src.tar.gz', }, + { + label: '1.0.2', + value: '1.0.2', + children: [ + { + label: CPUEnum.X64, + value: CPUEnum.X64, + gz: 'https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-streamloader-1.0.2-bin-x64.tar.gz', + Binary: 'https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-streamloader-1.0.2-bin-x64.tar.gz' + }, + { + label: CPUEnum.ARM64, + value: CPUEnum.ARM64, + gz: 'https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-streamloader-1.0.2-bin-arm64.tar.gz', + Binary: 'https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-streamloader-1.0.2-bin-arm64.tar.gz' + }, + ], + source: 'https://downloads.apache.org/doris/doris-streamloader/1.0.2/apache-doris-streamloader-1.0.2-src.tar.gz', + }, ], }, ]; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org