You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Daniel Halperin (JIRA)" <ji...@apache.org> on 2017/03/23 20:12:41 UTC
[jira] [Resolved] (BEAM-1780) BigtableReader.splitIntoFraction
should more carefully guard input
[ 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)