You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by pkuwm <gi...@git.apache.org> on 2016/08/25 23:03:10 UTC
[GitHub] incubator-eagle pull request #390: [EAGLE-502] Always retry to parse spark h...
GitHub user pkuwm opened a pull request:
https://github.com/apache/incubator-eagle/pull/390
[EAGLE-502] Always retry to parse spark history job when failure happens.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pkuwm/incubator-eagle EAGLE-502
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-eagle/pull/390.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #390
----
commit 3d2aa62574ce2646b822e40a926c2ff07423f942
Author: pkuwm <ih...@gmail.com>
Date: 2016-08-25T23:01:02Z
[EAGLE-502] Always retry to parse spark history job when failure happens.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle pull request #390: [EAGLE-502] Always retry to parse spark h...
Posted by pkuwm <gi...@git.apache.org>.
Github user pkuwm closed the pull request at:
https://github.com/apache/incubator-eagle/pull/390
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #390: [EAGLE-502] Always retry to parse spark history ...
Posted by wujinhu <gi...@git.apache.org>.
Github user wujinhu commented on the issue:
https://github.com/apache/incubator-eagle/pull/390
Looks good to me now. It will be better have a sleep for some seconds when you emit it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #390: [EAGLE-502] Always retry to parse spark history ...
Posted by pkuwm <gi...@git.apache.org>.
Github user pkuwm commented on the issue:
https://github.com/apache/incubator-eagle/pull/390
Thanks @wujinhu
I have updated the code. The following code has been added.
` @Override
public void fail(Object msgId) {
collector.emit(new Values(msgId), msgId);
zkState.updateApplicationStatus((String)msgId, ZKStateConstant.AppStatus.SENT_FOR_PARSE);
}`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #390: [EAGLE-502] Always retry to parse spark history ...
Posted by pkuwm <gi...@git.apache.org>.
Github user pkuwm commented on the issue:
https://github.com/apache/incubator-eagle/pull/390
The jenkins check failure is due to the previous commit. Please see the console log.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #390: [EAGLE-502] Always retry to parse spark history ...
Posted by qingwen220 <gi...@git.apache.org>.
Github user qingwen220 commented on the issue:
https://github.com/apache/incubator-eagle/pull/390
merged, please close it
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #390: [EAGLE-502] Always retry to parse spark history ...
Posted by pkuwm <gi...@git.apache.org>.
Github user pkuwm commented on the issue:
https://github.com/apache/incubator-eagle/pull/390
This is a good tip to void high CPU usage on retry.
I have updated it to sleep 5 secs.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #390: [EAGLE-502] Always retry to parse spark history ...
Posted by wujinhu <gi...@git.apache.org>.
Github user wujinhu commented on the issue:
https://github.com/apache/incubator-eagle/pull/390
It seems there is no retry logic now. Please verify the code. I think something is missing.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #390: [EAGLE-502] Always retry to parse spark history ...
Posted by haoch <gi...@git.apache.org>.
Github user haoch commented on the issue:
https://github.com/apache/incubator-eagle/pull/390
@pkuwm pls. resolve conflict firstly.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #390: [EAGLE-502] Always retry to parse spark history ...
Posted by pkuwm <gi...@git.apache.org>.
Github user pkuwm commented on the issue:
https://github.com/apache/incubator-eagle/pull/390
Conflicts resolved.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-eagle issue #390: [EAGLE-502] Always retry to parse spark history ...
Posted by pkuwm <gi...@git.apache.org>.
Github user pkuwm commented on the issue:
https://github.com/apache/incubator-eagle/pull/390
Thanks.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---