You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/01 20:23:00 UTC

[jira] [Work logged] (BEAM-11326) Enforce deadlines during splitAtFraction in BigQueryStorageStreamSource

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

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

                Author: ASF GitHub Bot
            Created on: 01/Mar/21 20:22
            Start Date: 01/Mar/21 20:22
    Worklog Time Spent: 10m 
      Work Description: pabloem commented on pull request #13896:
URL: https://github.com/apache/beam/pull/13896#issuecomment-788245389


   Run Java PostCommit


----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 559564)
    Time Spent: 1.5h  (was: 1h 20m)

> Enforce deadlines during splitAtFraction in BigQueryStorageStreamSource
> -----------------------------------------------------------------------
>
>                 Key: BEAM-11326
>                 URL: https://issues.apache.org/jira/browse/BEAM-11326
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-gcp
>    Affects Versions: 2.25.0
>            Reporter: Kenneth Jung
>            Assignee: Kenneth Jung
>            Priority: P2
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> In the [BigQueryStorageStreamSource](https://github.com/apache/beam/blob/3bb232fb098700de408f574585dfe74bbaff7230/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryStorageStreamSource.java#L279), we perform two RPCs during splitAtFraction: one to split the current stream into primary and residual child streams, and a second to validate the reader's current offset within the primary stream to ensure that the reader has not advanced beyond the split point during the split process. For sufficiently large streams -- particularly when combined with selective predicate filters -- this process can take longer than the 2 minute limit beyond which the Dataflow runtime will consider the worker to be lost and can ultimately cause pipeline execution failures.
> The short-term solution is to implement a consistent deadline for both RPCs which will fail the split operation if it takes too long. This does not address the potential for sub-optimal parallelism and dynamic work rebalancing, but it should at least prevent pipeline execution failures.



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