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 dag config #2105

Merged
merged 5 commits into from
Sep 13, 2022
Merged
Changes from 2 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: 11 additions & 1 deletion docs-2.0/graph-computing/0.deploy-controller-analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,17 @@ Dag Controller、Nebula Analytics 版本和 NebulaGraph 内核的版本对应关
VarDataListMaxSize: 100 # 如果读取 HDFS 的列,则限制为每次 100 条数据。
```

5. 配置`tasks.yaml`文件,路径为`dag-ctrl/etc/tasks.yaml`。配置算法文件的具体路径(`exec_file`参数),如果有多台机器,请确保路径一致。
5. 配置`tasks.yaml`文件,路径为`dag-ctrl/etc/tasks.yaml`。只需配置算法文件的具体路径(`exec_file`参数)。当前所有`exec_file`参数都配置为`run_algo.sh`文件的路径。

!!! note

- 算法文件由 NebulaGraph Analytics 提供,请在上文安装 NebulaGraph Analytics 路径下查找目录`scripts`。所有算法文件都在该目录内。
- 如果有多台机器,请确保路径一致。
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved
- 其它参数是算法的执行参数,后续在[可视化工作流页面](../nebula-explorer/workflow/2.create-workflow.md)配置。

```bash
exec_file: /home/xxx/nebula-analytics/scripts/run_algo.sh
```

6. 启动 Dag Controller。

Expand Down