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

Saturn-Console support dump executor threads #298

Closed
heziai opened this issue Dec 11, 2017 · 0 comments
Closed

Saturn-Console support dump executor threads #298

heziai opened this issue Dec 11, 2017 · 0 comments

Comments

@heziai
Copy link
Member

heziai commented Dec 11, 2017

需求

  • 用户在作业页面点击“一键dump”按钮后,作业分片的executor会备份gc.log和做thread dump,同时zk所在域的节点做备份
  • Admin可以通过工具查看dump出来的zk (部分?)snapshot(issue Saturn-Console support dump zk data snapshot #345 )

实现

  • saturn-console删除并创建$SaturnExecutors/executors/${executorName}/dump结点;
  • executor监听dump结点的新增、更新事件,调用脚本执行dump命令;
  • Saturn-console capture zk snapshot,下载到本地,提供web页面,能够导入该文件并展示数据。
@heziai heziai added the feature label Dec 11, 2017
@heziai heziai added this to the 3.0.0 milestone Dec 11, 2017
@heziai heziai self-assigned this Dec 11, 2017
heziai added a commit that referenced this issue Dec 11, 2017
watch the dump node;  refactor code with #295
kfchu added a commit that referenced this issue Dec 13, 2017
kfchu added a commit that referenced this issue Dec 13, 2017
kfchu added a commit that referenced this issue Jan 16, 2018
@heziai heziai added the done label Jan 23, 2018
@lanjane lanjane added the tested label Jan 24, 2018
@lanjane lanjane closed this as completed Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants