[ 
https://issues.apache.org/jira/browse/GOBBLIN-992?focusedWorklogId=353053&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-353053
 ]

ASF GitHub Bot logged work on GOBBLIN-992:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Dec/19 22:26
            Start Date: 03/Dec/19 22:26
    Worklog Time Spent: 10m 
      Work Description: sv2000 commented on pull request #2837: 
[GOBBLIN-992]Make parallelRunner timeout configurable in MRJobLauncher
URL: https://github.com/apache/incubator-gobblin/pull/2837#discussion_r353456109
 
 

 ##########
 File path: 
gobblin-runtime/src/main/java/org/apache/gobblin/runtime/mapreduce/MRJobLauncher.java
 ##########
 @@ -621,7 +623,11 @@ private void addHdfsJars(String hdfsJarFileList, 
Configuration conf) throws IOEx
   private void prepareJobInput(List<WorkUnit> workUnits) throws IOException {
     Closer closer = Closer.create();
     try {
-      ParallelRunner parallelRunner = closer.register(new 
ParallelRunner(this.parallelRunnerThreads, this.fs));
+      // Specify timeout on waiting for all workunits to be persisted as 
usually it could take long when
 
 Review comment:
   Why not simply do parallelJobRunner.waitForTasks(Long.MAX_VALUE) in 
prepareJobInput? A pre-defined fixed timeout setting may not be ideal, since 
the timeout should ideally depend on the number of workunits created which may 
vary from run to run.  
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 353053)
    Time Spent: 20m  (was: 10m)

> Make timeout of ParallelRunner configurable
> -------------------------------------------
>
>                 Key: GOBBLIN-992
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-992
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Lei Sun
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to