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

ASF GitHub Bot logged work on BEAM-12419:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Jun/21 17:36
            Start Date: 02/Jun/21 17:36
    Worklog Time Spent: 10m 
      Work Description: kw2542 commented on a change in pull request #14923:
URL: https://github.com/apache/beam/pull/14923#discussion_r644182569



##########
File path: 
runners/portability/java/src/main/java/org/apache/beam/runners/portability/PortableRunner.java
##########
@@ -201,12 +207,16 @@ public PipelineResult run(Pipeline pipeline) {
               .setPreparationId(prepareJobResponse.getPreparationId())
               .build();
 
-      RunJobResponse runJobResponse = jobService.run(runJobRequest);
+      // Run the job and wait for a result, we don't set a timeout here because
+      // it may take a long time for a job to complete and streaming
+      // jobs currently never return a response.
+      RunJobResponse runJobResponse = 
jobService.withDeadline(null).run(runJobRequest);

Review comment:
       You are right that we technically do not need it here because jobService 
was originally created without it. I added here because I wanted to explicit 
show that this call is made without any deadline.
   
   I can remove it too, let me know which do you prefer.




-- 
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: 605388)
    Time Spent: 1h 20m  (was: 1h 10m)

> Timeout/WaitForReady support in java gRPC calls
> -----------------------------------------------
>
>                 Key: BEAM-12419
>                 URL: https://issues.apache.org/jira/browse/BEAM-12419
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-core
>            Reporter: Ke Wu
>            Assignee: Ke Wu
>            Priority: P2
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> gRPC calls in java Portable pipeline does not have retry or timeout enabled, 
> unlike python BEAM-7933
> Email discussion: 
> https://lists.apache.org/thread.html/rd4de8d54b22777913a8e20ee04e8b9d5c9aa7c16942ab36d7d168425%40%3Cdev.beam.apache.org%3E



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

Reply via email to