eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EAGLE-796) MRJobEntityCreationHandler flush need retry N times
Date Tue, 29 Nov 2016 06:34:58 GMT

    [ https://issues.apache.org/jira/browse/EAGLE-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15704394#comment-15704394
] 

ASF GitHub Bot commented on EAGLE-796:
--------------------------------------

Github user chitin commented on a diff in the pull request:

    https://github.com/apache/incubator-eagle/pull/691#discussion_r89948452
  
    --- Diff: eagle-jpm/eagle-jpm-mr-running/src/main/java/org/apache/eagle/jpm/mr/running/parser/MRJobEntityCreationHandler.java
---
    @@ -79,10 +79,7 @@ public boolean flush() {
                 eagleServiceConfig.password);
             client.getJerseyClient().setReadTimeout(eagleServiceConfig.readTimeoutSeconds
* 1000);
             try {
    -            LOG.info("start to flush mr job entities, size {}", entities.size());
    -            client.create(entities);
    -            LOG.info("finish flushing mr job entities, size {}", entities.size());
    -            entities.clear();
    +            return createEntities(client);
             } catch (Exception e) {
                 LOG.warn("exception found when flush entities, {}", e);
                 e.printStackTrace();
    --- End diff --
    
    Done.Thanks!


> MRJobEntityCreationHandler flush need retry N times
> ---------------------------------------------------
>
>                 Key: EAGLE-796
>                 URL: https://issues.apache.org/jira/browse/EAGLE-796
>             Project: Eagle
>          Issue Type: Improvement
>            Reporter: JiJun Tang
>            Assignee: Lingang Deng
>            Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message