[ 
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)

Reply via email to