From d4d3fcd18b49053470d2a4711e483f7cdd6c3345 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Tue, 6 Dec 2022 15:46:02 +0800 Subject: [PATCH] exchange update faq --- docs-2.0/nebula-exchange/ex-ug-FAQ.md | 4 ++-- .../parameter-reference/ex-ug-para-import-command.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs-2.0/nebula-exchange/ex-ug-FAQ.md b/docs-2.0/nebula-exchange/ex-ug-FAQ.md index e4a4264dda9..46e6fee0496 100644 --- a/docs-2.0/nebula-exchange/ex-ug-FAQ.md +++ b/docs-2.0/nebula-exchange/ex-ug-FAQ.md @@ -46,9 +46,9 @@ Solution: Add the following configuration in the `profiles` scope of Maven's `se ## Execution -### Q: How to submit in Yarn-Cluster mode? +### Q: Error: `java.lang.ClassNotFoundException: com.vesoft.nebula.exchange.Exchange` -To submit a task in Yarn-Cluster mode, run the following command: +To submit a task in Yarn-Cluster mode, run the following command, **especially the two '--conf' commands in the example**. ```bash $SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.exchange.Exchange \ diff --git a/docs-2.0/nebula-exchange/parameter-reference/ex-ug-para-import-command.md b/docs-2.0/nebula-exchange/parameter-reference/ex-ug-para-import-command.md index 284feb63a32..daa9cbb8546 100644 --- a/docs-2.0/nebula-exchange/parameter-reference/ex-ug-para-import-command.md +++ b/docs-2.0/nebula-exchange/parameter-reference/ex-ug-para-import-command.md @@ -20,9 +20,9 @@ After editing the configuration file, run the following commands to import speci The version number of a JAR file is subject to the name of the JAR file that is actually compiled. -!!! note +!!! faq - If users use the [yarn-cluster mode](https://spark-reference-doc-cn.readthedocs.io/zh_CN/latest/deploy-guide/running-on-yarn.html) to submit a job, see the following command: + If users use the [yarn-cluster mode](https://spark-reference-doc-cn.readthedocs.io/zh_CN/latest/deploy-guide/running-on-yarn.html) to submit a job, see the following command, **especially the two '--conf' commands in the example**. ```bash $SPARK_HOME/bin/spark-submit --master yarn-cluster \