This is an automated email from the ASF dual-hosted git repository.
jiafengzheng 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 b2a5a2e325c add notice for version 1.2.0 (#173)
b2a5a2e325c is described below
commit b2a5a2e325c119d51540ae5272f13e470c712463
Author: song7788q <[email protected]>
AuthorDate: Wed Dec 7 18:37:02 2022 +0800
add notice for version 1.2.0 (#173)
* add notice for version 1.2.0
---
docusaurus.config.js | 2 +-
i18n/zh-CN/code.json | 3 ++
src/pages/download/index.tsx | 65 +++++++++++++++++++++++++-------------------
3 files changed, 41 insertions(+), 29 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 26a6afc3fec..8a90302cff4 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -116,7 +116,7 @@ const config = {
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
- lastVersion: 'dev',
+ lastVersion: 'current',
versions: {
current: {
label: '1.1',
diff --git a/i18n/zh-CN/code.json b/i18n/zh-CN/code.json
index dbb1f5fff6a..8aa3d131aed 100644
--- a/i18n/zh-CN/code.json
+++ b/i18n/zh-CN/code.json
@@ -764,5 +764,8 @@
},
"Notice": {
"message": "注意事项"
+ },
+ "download.quick.download.notice": {
+ "message": "1.2.0 版本暂不支持使用 JDK11 运行,会在后续版本修复。"
}
}
diff --git a/src/pages/download/index.tsx b/src/pages/download/index.tsx
index 017eec9a82f..f7b4d234cef 100644
--- a/src/pages/download/index.tsx
+++ b/src/pages/download/index.tsx
@@ -182,36 +182,45 @@ export default function Download(): JSX.Element {
</div>
<ul>
{version === VersionEnum.Latest ? (
- currentLocale === 'zh-CN' ? (
+ <>
+ {currentLocale === 'zh-CN' ? (
+ <li>
+ 由于 Apache 服务器文件大小限制,1.2
+ 版本的二进制程序被分为三个包,其中新增的
+
apache-doris-java-udf-jar-with-dependencies 用于支持 JDBC 外表和 JAVA
+ UDF ,下载后需要将其中放到
+ <code>be/lib</code>
+ 目录下。详细升级注意事项请参考
+ <Link
to="/docs/releasenotes/release-1.2.0">1.2.0 Release Note</Link>
+ 以及
+ <Link
to="/docs/dev/install/install-deploy">
+ <Translate
id="Installation and deployment">
+ Installation and
deployment
+ </Translate>
+ </Link>
+ 以及
+ <Link
to="/docs/dev/admin-manual/cluster-management/upgrade">
+ <Translate id="Cluster
Upgrade">Cluster Upgrade</Translate>
+ </Link>
+ 手册。
+ </li>
+ ) : (
+ <li>
+ Due to file size limitations,
the binary for version 1.2.0 is divided
+ into three packages. The
`apache-doris-java-udf-jar-with-dependencies`
+ package is used to support the
new JDBC expansion table and JAVA UDF.
+ After downloading, you need to
put the
+
`java-udf-jar-with-dependencies.jar` in the <code>be/lib</code>
+ directory to start BE,
otherwise it will not start successfully.
+ </li>
+ )}
<li>
- 由于 Apache 服务器文件大小限制,1.2
版本的二进制程序被分为三个包,其中新增的
-
apache-doris-java-udf-jar-with-dependencies 用于支持 JDBC 外表和 JAVA UDF
- ,下载后需要将其中放到
- <code>be/lib</code>
- 目录下。详细升级注意事项请参考
- <Link
to="/docs/releasenotes/release-1.2.0">1.2.0 Release Note</Link>
- 以及
- <Link
to="/docs/dev/install/install-deploy">
- <Translate id="Installation
and deployment">
- Installation and deployment
- </Translate>
- </Link>
- 以及
- <Link
to="/docs/dev/admin-manual/cluster-management/upgrade">
- <Translate id="Cluster
Upgrade">Cluster Upgrade</Translate>
- </Link>
- 手册。
- </li>
- ) : (
- <li>
- Due to file size limitations, the
binary for version 1.2.0 is divided into
- three packages. The
`apache-doris-java-udf-jar-with-dependencies` package is
- used to support the new JDBC
expansion table and JAVA UDF. After
- downloading, you need to put the
`java-udf-jar-with-dependencies.jar` in the{' '}
- <code>be/lib</code>
- directory to start BE, otherwise
it will not start successfully.
+ <Translate
id="download.quick.download.notice">
+ Version 1.2.0 does not support
running with JDK11, and it will be fixed
+ in a later version.
+ </Translate>
</li>
- )
+ </>
) : (
''
)}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]