Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nebula-algorithm.md #2584

Merged
merged 2 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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