Github user wujinhu commented on a diff in the pull request:
https://github.com/apache/incubator-eagle/pull/691#discussion_r89947354
--- 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 --
Pls help to remove log like this line. 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 [email protected] or file a JIRA ticket
with INFRA.
---