Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

是否应该提供外部plugin,来report_task_error? #419

Open
yunfan123 opened this issue Jan 20, 2017 · 3 comments
Open

是否应该提供外部plugin,来report_task_error? #419

yunfan123 opened this issue Jan 20, 2017 · 3 comments

Comments

@yunfan123
Copy link
Contributor

现在jstorm report task error都是往zk上写。
比方说我提交了一个有5000+个task的job,但比方说job本身存在bug,导致task和worker不断地重启,每个task都会往zk上面不断地去写error,可能在短时间造成zk的压力非常大。
希望能够像MetricUpload那样,用户实现一个接口类,用用户自定义的error_report函数来report_error?

@unsleepy22
Copy link
Contributor

可以的,这个建议不错,你可以看一下如何修改,提个PR么?

@yunfan123
Copy link
Contributor Author

OK. @unsleepy22

@yunfan123
Copy link
Contributor Author

#444 .帮忙看下这个pr,默认的实现都是从之前的抄过来的。
@unsleepy22

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants