Skip to content

Commit

Permalink
exchange update faq (#1800)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Dec 6, 2022
1 parent c7761bb commit 4e894ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs-2.0/nebula-exchange/ex-ug-FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 4e894ab

Please sign in to comment.