beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Halperin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BEAM-1780) BigtableReader.splitIntoFraction should more carefully guard input
Date Thu, 23 Mar 2017 20:12:41 GMT

     [ https://issues.apache.org/jira/browse/BEAM-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Halperin resolved BEAM-1780.
-----------------------------------
    Resolution: Fixed

> BigtableReader.splitIntoFraction should more carefully guard input
> ------------------------------------------------------------------
>
>                 Key: BEAM-1780
>                 URL: https://issues.apache.org/jira/browse/BEAM-1780
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-gcp
>            Reporter: Daniel Halperin
>            Assignee: Daniel Halperin
>             Fix For: First stable release
>
>
> The contract for {{splitIntoFraction}} is that it should only throw if the reader is
in an unknown, bad state. The proper way to reject invalid or unsatisfiable split requests
is to return {{null}}.
> However, {{BigtableIO.Read}} will currently throw for simply invalid input it should
reject. This can lead to less effective dynamic work rebalancing and even stuck jobs.
> Related to, but probably not a complete solution for, [BEAM-1751].



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message