[minor](doc) update the doc for docker env and custom_lib dir (#25088)
1. Update the doc for `apache/doris:build-env-for-2.0` 2. Update the doc for `custom_dir`
This commit is contained in:
@ -118,7 +118,7 @@ if [[ -d "${DORIS_HOME}/lib/hadoop_hdfs/" ]]; then
|
||||
done
|
||||
fi
|
||||
|
||||
# add custome_libs to CLASSPATH
|
||||
# add custom_libs to CLASSPATH
|
||||
if [[ -d "${DORIS_HOME}/custom_lib" ]]; then
|
||||
for f in "${DORIS_HOME}/custom_lib"/*.jar; do
|
||||
DORIS_CLASSPATH="${DORIS_CLASSPATH}:${f}"
|
||||
|
||||
@ -201,7 +201,7 @@ for f in "${DORIS_HOME}/lib"/*.jar; do
|
||||
CLASSPATH="${f}:${CLASSPATH}"
|
||||
done
|
||||
|
||||
# add custome_libs to CLASSPATH
|
||||
# add custom_libs to CLASSPATH
|
||||
if [[ -d "${DORIS_HOME}/custom_lib" ]]; then
|
||||
for f in "${DORIS_HOME}/custom_lib"/*.jar; do
|
||||
CLASSPATH="${f}:${CLASSPATH}"
|
||||
|
||||
@ -213,6 +213,10 @@ Upgrade BE first, then FE
|
||||
|
||||
Generally speaking, Doris only needs to upgrade `/bin` and `/lib` under the FE directory and `/bin` and `/lib` under the BE directory
|
||||
|
||||
In versions 2.0.2 and later, the `custom_lib/` directory is added to the FE and BE deployment paths (if not, it can be created manually). The `custom_lib/` directory is used to store some user-defined third-party jar packages, such as `hadoop-lzo-*.jar`, `orai18n.jar`, etc.
|
||||
|
||||
This directory does not need to be replaced during upgrade.
|
||||
|
||||
However, when a major version is upgraded, new features may be added or old functions refactored. These modifications may require **replace/add** more directories during the upgrade to ensure the availability of all new features. Please Carefully pay attention to the Release-Note of this version when upgrading the version to avoid upgrade failures
|
||||
|
||||
:::
|
||||
|
||||
@ -61,8 +61,10 @@ This topic is about how to compile Doris from source.
|
||||
| apache/doris:build-env-for-1.1.0| | 1.1.0 |
|
||||
| apache/doris:build-env-for-1.2| | 1.1.x, 1.2.x |
|
||||
| apache/doris:build-env-for-1.2-no-avx2| | 1.1.x, 1.2.x |
|
||||
| apache/doris:build-env-ldb-toolchain-latest | | trunk |
|
||||
| apache/doris:build-env-ldb-toolchain-no-avx2-latest | | trunk |
|
||||
| apache/doris:build-env-for-2.0| | 2.0.x |
|
||||
| apache/doris:build-env-for-2.0-no-avx2| | 2.0.x |
|
||||
| apache/doris:build-env-ldb-toolchain-latest | | master |
|
||||
| apache/doris:build-env-ldb-toolchain-no-avx2-latest | | mater |
|
||||
|
||||
**Note**:
|
||||
|
||||
|
||||
@ -211,6 +211,10 @@ admin set frontend config("disable_tablet_scheduler" = "true");
|
||||
|
||||
一般而言,Doris 只需要升级 FE 目录下的 `/bin` 和 `/lib` 以及 BE 目录下的 `/bin` 和 `/lib`
|
||||
|
||||
在 2.0.2 及之后的版本,FE 和 BE 部署路径下新增了 `custom_lib/` 目录(如没有可以手动创建)。`custom_lib/` 目录用于存放一些用户自定义的第三方 jar 包,如 `hadoop-lzo-*.jar`,`orai18n.jar` 等。
|
||||
|
||||
这个目录在升级时不需要替换。
|
||||
|
||||
但是在大版本升级时,可能会有新的特性增加或者老功能的重构,这些修改可能会需要升级时**替换/新增**更多的目录来保证所有新功能的可用性,请大版本升级时仔细关注该版本的 Release-Note,以免出现升级故障
|
||||
|
||||
:::
|
||||
|
||||
@ -60,8 +60,10 @@ under the License.
|
||||
| apache/doris:build-env-for-1.1.0| | 1.1.0 |
|
||||
| apache/doris:build-env-for-1.2| | 1.1.x, 1.2.x |
|
||||
| apache/doris:build-env-for-1.2-no-avx2| | 1.1.x, 1.2.x |
|
||||
| apache/doris:build-env-ldb-toolchain-latest | | trunk |
|
||||
| apache/doris:build-env-ldb-toolchain-no-avx2-latest | | trunk |
|
||||
| apache/doris:build-env-for-2.0| | 2.0.x |
|
||||
| apache/doris:build-env-for-2.0-no-avx2| | 2.0.x |
|
||||
| apache/doris:build-env-ldb-toolchain-latest | | master |
|
||||
| apache/doris:build-env-ldb-toolchain-no-avx2-latest | | mater |
|
||||
|
||||
**注意**:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user