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 \