forked from apache/incubator-hugegraph-computer
-
Notifications
You must be signed in to change notification settings - Fork 0
submit a new scheduler #3
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
Open
Ethereal-O
wants to merge
27
commits into
hugegraph:master
Choose a base branch
from
Ethereal-O:formal_submit
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
360b795
doc(docker): add docker usage into README files; add a docker-compose…
Ethereal-O 09dab68
chore: add test case into gitignore
Ethereal-O 318c0e8
chore: tmp framework
Ethereal-O 8a7e152
chore: reorgnize
Ethereal-O 2aa8c2a
feat: pass test
Ethereal-O 095b6da
feat: a tmp version of optimizing
Ethereal-O fe3fcdc
feat: a tmp version of optimizing
Ethereal-O 3a72f0a
chore: add some algorithms
Ethereal-O 0acc014
chore: rename the modules; add filter interface
Ethereal-O 185583c
chore: add PriorityElderSchedulerAlgorithm
Ethereal-O 6f4b42e
chore: check PriorityElderSchedulerAlgorithm
Ethereal-O a61a886
chore: check PriorityElderSchedulerAlgorithm
Ethereal-O 21ce37d
chore: add some note for idle workers
Ethereal-O 9f18599
chore: add cron manager
Ethereal-O e5790ac
chore: add configurations
Ethereal-O d503951
test: add some test for priority
Ethereal-O dc9808b
chore: add some test for priority
Ethereal-O aca2994
chore: add some test for priority
Ethereal-O 17b98ef
chore: add some test for routine
Ethereal-O ec5c1d2
chore: add some test for routine
Ethereal-O 02b83cc
chore: change some files/ai suggestions
Ethereal-O 767cad8
chore: change getting all task to complete/ refresh group assign
Ethereal-O c00bd80
chore: add some corner test
Ethereal-O dad0b39
chore: add some comments
Ethereal-O 5995cf8
chore: repair ai
Ethereal-O c5c8e15
chore: repair ai
Ethereal-O 5ee6421
chore: some tiny error
Ethereal-O File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -83,3 +83,7 @@ node_modules/ | |
| /output/ | ||
| /bin/* | ||
| !/bin/*.sh | ||
|
|
||
| # 其他 # | ||
| ###################### | ||
| test/case/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,26 @@ | |
| ## 简介 | ||
| Vermeer是一个基于内存的高性能分布式图计算平台,支持15+图算法。支持自定义算法扩展,支持自定义数据源接入。 | ||
|
|
||
| ## 基于 Docker 运行 | ||
|
|
||
| 拉取镜像 | ||
| ``` | ||
| docker pull hugegraph/vermeer:latest | ||
| ``` | ||
|
Comment on lines
+9
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion 为代码块标注语言并避免挂载整个 $HOME
应用此变更: -```
+```bash
docker pull hugegraph/vermeer:latest
-```
+```
@@
-```
-master: docker run -v ~/:/go/bin/config hugegraph/vermeer --env=master
-worker: docker run -v ~/:/go/bin/config hugegraph/vermeer --env=worker
-```
+```bash
+master: docker run -v $PWD/config:/go/bin/config:ro hugegraph/vermeer --env=master
+worker: docker run -v $PWD/config:/go/bin/config:ro hugegraph/vermeer --env=worker
+```
@@
-```
+```bash
docker-compose up -d
-```
+```另外建议在文档中固定镜像版本(例如 Also applies to: 17-19, 23-24 🧰 Tools🪛 markdownlint-cli2 (0.17.2)9-9: Fenced code blocks should have a language specified (MD040, fenced-code-language) 🤖 Prompt for AI Agents |
||
|
|
||
| 创建好本地配置文件,例如`~/master.ini`与`~/worker.ini` | ||
|
|
||
| 基于docker运行,其中`--env`指定的是文件名称。 | ||
| ``` | ||
| master: docker run -v ~/:/go/bin/config hugegraph/vermeer --env=master | ||
| worker: docker run -v ~/:/go/bin/config hugegraph/vermeer --env=worker | ||
| ``` | ||
|
|
||
| 我们也提供了`docker-compose`文件,当创建好`~/master.ini`与`~/worker.ini`,将`worker.ini`中的`master_peer`修改为`172.20.0.10:6689`后,即可通过以下命令运行: | ||
| ``` | ||
| docker-compose up -d | ||
| ``` | ||
|
|
||
| ## 运行 | ||
|
|
||
| ``` | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
为代码块标注语言并收敛 volume 挂载范围
与中文 README 同步:增加
bash语言标注;避免挂载$HOME,仅挂载需要的配置目录(只读)。应用此变更:
另:建议固定镜像版本标签或 digest,避免
latest。Also applies to: 17-20, 24-26
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)
9-9: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents