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/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 17f38cdcb1 [doc] add error doc for action_table.dat (#9263)
17f38cdcb1 is described below
commit 17f38cdcb1f5b02d755d308377b5337e19cb9c01
Author: Stalary <[email protected]>
AuthorDate: Sun May 1 17:50:48 2022 +0800
[doc] add error doc for action_table.dat (#9263)
---
docs/en/faq/install-faq.md | 9 +++++++++
docs/zh-CN/faq/install-faq.md | 12 +++++++++++-
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/docs/en/faq/install-faq.md b/docs/en/faq/install-faq.md
index 631cba1784..d135c85b82 100644
--- a/docs/en/faq/install-faq.md
+++ b/docs/en/faq/install-faq.md
@@ -269,3 +269,12 @@ This is a bug in bdbje that has not yet been resolved. In
this case, you can onl
When compiling Doris using Docker, start FE after compiling and installing,
and the exception message `java.lang.Suchmethoderror: java.nio.ByteBuffer.limit
(I)Ljava/nio/ByteBuffer;` appears, this is because the default in Docker It is
JDK 11. If your installation environment is using JDK8, you need to switch the
JDK environment to JDK8 in Docker. For the specific switching method, please
refer to [Compile Documentation](../install/source-install/compilation.html)
+### Q13. Error starting FE or unit test locally Cannot find external parser
table action_table.dat
+Run the following command
+```
+cd fe && mvn clean install -DskipTests
+```
+If the same error is reported, Run the following command
+```
+cp
fe-core/target/generated-sources/cup/org/apache/doris/analysis/action_table.dat
fe-core/target/classes/org/apache/doris/analysis
+```
diff --git a/docs/zh-CN/faq/install-faq.md b/docs/zh-CN/faq/install-faq.md
index 2d33ec566c..74f9e246b3 100644
--- a/docs/zh-CN/faq/install-faq.md
+++ b/docs/zh-CN/faq/install-faq.md
@@ -267,4 +267,14 @@ http {
### Q12. Doris编译安装JDK版本不兼容问题
-在自己使用 Docker 编译 Doris 的时候,编译完成安装以后启动FE,出现 `java.lang.Suchmethoderror:
java.nio. ByteBuffer. limit (I)Ljava/nio/ByteBuffer;` 异常信息,这是因为Docker里默认是JDK
11,如果你的安装环境是使用JDK8 ,需要在 Docker 里 JDK 环境切换成
JDK8,具体切换方法参照[编译文档](../install/source-install/compilation.html)
\ No newline at end of file
+在自己使用 Docker 编译 Doris 的时候,编译完成安装以后启动FE,出现 `java.lang.Suchmethoderror:
java.nio. ByteBuffer. limit (I)Ljava/nio/ByteBuffer;` 异常信息,这是因为Docker里默认是JDK
11,如果你的安装环境是使用JDK8 ,需要在 Docker 里 JDK 环境切换成
JDK8,具体切换方法参照[编译文档](../install/source-install/compilation.html)
+
+### Q13. 本地启动 FE 或者启动单元测试报错 Cannot find external parser table action_table.dat
+执行如下命令
+```
+cd fe && mvn clean install -DskipTests
+```
+如果还报同样的错误,手动执行如下命令
+```
+cp
fe-core/target/generated-sources/cup/org/apache/doris/analysis/action_table.dat
fe-core/target/classes/org/apache/doris/analysis
+```
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]