Skip to content

Commit

Permalink
update dag config (#2105)
Browse files Browse the repository at this point in the history
* update dag config

* Update 0.deploy-controller-analytics.md

* Update 0.deploy-controller-analytics.md

* Update 0.deploy-controller-analytics.md

* Update docs-2.0/graph-computing/0.deploy-controller-analytics.md

Co-authored-by: randomJoe211 <[email protected]>

Co-authored-by: randomJoe211 <[email protected]>
  • Loading branch information
cooper-lzy and randomJoe211 authored Sep 13, 2022
1 parent 8b3be2c commit 7f44305
Showing 1 changed file with 11 additions and 1 deletion.
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 安装路径下的`scripts`目录内。
- 如果有多台机器,请确保算法文件路径一致。
- 其它参数是算法的执行参数,后续在[可视化工作流页面](../nebula-explorer/workflow/2.create-workflow.md)配置。

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

6. 启动 Dag Controller。

Expand Down

0 comments on commit 7f44305

Please sign in to comment.