You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by su...@apache.org on 2019/11/21 19:13:31 UTC
[incubator-gobblin] branch master updated: [GOBBLIN-973] Increase
timeout for copying Gobblin workunits to the workunit state store in
GobblinHelixJobLauncher[]
This is an automated email from the ASF dual-hosted git repository.
suvasude pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-gobblin.git
The following commit(s) were added to refs/heads/master by this push:
new 18ed553 [GOBBLIN-973] Increase timeout for copying Gobblin workunits to the workunit state store in GobblinHelixJobLauncher[]
18ed553 is described below
commit 18ed5539e5ea80e06af128e3b66f37331f0d7dad
Author: sv2000 <su...@gmail.com>
AuthorDate: Thu Nov 21 11:13:24 2019 -0800
[GOBBLIN-973] Increase timeout for copying Gobblin workunits to the workunit state store in GobblinHelixJobLauncher[]
Closes #2821 from sv2000/parallelRunnerTimeout
---
.../java/org/apache/gobblin/cluster/GobblinHelixJobLauncher.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gobblin-cluster/src/main/java/org/apache/gobblin/cluster/GobblinHelixJobLauncher.java b/gobblin-cluster/src/main/java/org/apache/gobblin/cluster/GobblinHelixJobLauncher.java
index 975037c..cb2b434 100644
--- a/gobblin-cluster/src/main/java/org/apache/gobblin/cluster/GobblinHelixJobLauncher.java
+++ b/gobblin-cluster/src/main/java/org/apache/gobblin/cluster/GobblinHelixJobLauncher.java
@@ -27,8 +27,6 @@ import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.TimeoutException;
-import org.apache.gobblin.metrics.event.CountEventBuilder;
-import org.apache.gobblin.metrics.event.JobEvent;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
@@ -53,6 +51,8 @@ import org.apache.gobblin.annotation.Alpha;
import org.apache.gobblin.configuration.ConfigurationKeys;
import org.apache.gobblin.metastore.StateStore;
import org.apache.gobblin.metrics.Tag;
+import org.apache.gobblin.metrics.event.CountEventBuilder;
+import org.apache.gobblin.metrics.event.JobEvent;
import org.apache.gobblin.metrics.event.TimingEvent;
import org.apache.gobblin.rest.LauncherTypeEnum;
import org.apache.gobblin.runtime.AbstractJobLauncher;
@@ -297,7 +297,7 @@ public class GobblinHelixJobLauncher extends AbstractJobLauncher {
// Block on persistence of all workunits to be finished.
// It is necessary when underlying storage being slow and Helix activate task-execution before the workunit being persisted.
- stateSerDeRunner.waitForTasks();
+ stateSerDeRunner.waitForTasks(Long.MAX_VALUE);
LOGGER.debug("GobblinHelixJobLauncher.createHelixJob: jobStateFilePath {}, jobState {} jobProperties {}",
jobStateFilePath, this.jobContext.getJobState().toString(), this.jobContext.getJobState().getProperties());