Skip to content

Commit

Permalink
Update nebula-algorithm.md (#2584)
Browse files Browse the repository at this point in the history
* Update nebula-algorithm.md

* updates

---------

Co-authored-by: Abby <78209557+abby-cyber@users.noreply.github.com>
  • Loading branch information
Nicole00 and abby-cyber authored Aug 15, 2024
1 parent dddf2bc commit 6e2fe03
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
12 changes: 9 additions & 3 deletions docs-2.0-en/graph-computing/nebula-algorithm.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Before using the NebulaGraph Algorithm, users need to confirm the following info

- The NebulaGraph services have been deployed and started. For details, see [NebulaGraph Installation](../4.deployment-and-installation/1.resource-preparations.md).

- The Spark version is 2.4.x.
- The Spark version is 2.4 or 3.x is installed.

- The Scala version is 2.11.
- The Scala version is 2.11 (for Spark 2.4) or 2.12 (for Spark 3.x) is installed.

- (Optional) If users need to clone, compile, and package the latest Algorithm in Github, install [Maven](https://maven.apache.org/download.cgi).

Expand Down Expand Up @@ -85,7 +85,13 @@ For detailed implementation methods, see [Scala file](https://github.com/vesoft-
$ git clone -b {{algorithm.branch}} https://github.com/vesoft-inc/nebula-algorithm.git
```

2. Enter the directory `nebula-algorithm`.
If running Algorithm in a Spark 3.x environment, use the spark3 branch:

```bash
$ git clone -b spark3 https://github.com/vesoft-inc/nebula-algorithm.git
```

1. Enter the directory `nebula-algorithm`.

```bash
$ cd nebula-algorithm
Expand Down
10 changes: 8 additions & 2 deletions docs-2.0-zh/graph-computing/nebula-algorithm.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ NebulaGraph Algorithm 版本和 {{nebula.name}} 内核的版本对应关系如

- {{nebula.name}} 服务已经部署并启动。详细信息,参考 [{{nebula.name}} 安装部署](../4.deployment-and-installation/1.resource-preparations.md "点击前往 {{nebula.name}} 安装部署")

- Spark 版本为 2.4.x。
- 已安装 Spark2.4 或者 3.x

- Scala 版本为 2.11。
- 已安装 Scala 2.11(对应 Spark 2.4)或 2.12(对应 Spark 3.x)

- (可选)如果用户需要在 Github 中克隆最新的 Algorithm,并自行编译打包,可以选择安装 [Maven](https://maven.apache.org/download.cgi)

Expand Down Expand Up @@ -86,6 +86,12 @@ NebulaGraph Algorithm 实现图计算的流程如下:
$ git clone -b {{algorithm.branch}} https://github.com/vesoft-inc/nebula-algorithm.git
```

如果是在 Spark 3.x 环境中运行 Algorithm,请使用 spark3 分支:

```bash
$ git clone -b spark3 https://github.com/vesoft-inc/nebula-algorithm.git
```

2. 进入目录`nebula-algorithm`

```bash
Expand Down

0 comments on commit 6e2fe03

Please sign in to comment.