[ 
https://issues.apache.org/jira/browse/BEAM-2834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16172075#comment-16172075
 ] 

ASF GitHub Bot commented on BEAM-2834:
--------------------------------------

GitHub user reuvenlax opened a pull request:

    https://github.com/apache/beam/pull/3864

    [BEAM-2834] Ensure that we never pass in a null retry policy

    R: @jkff 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/reuvenlax/incubator-beam BEAM-2834

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/3864.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3864
    
----
commit 2bc43a2e13981d39eca1d096a82a504a651e646d
Author: Reuven Lax <[email protected]>
Date:   2017-09-19T17:40:12Z

    Make sure that we default to alwaysRetry instead of passing in a null retry 
policy.

----


> NullPointerException @ BigQueryServicesImpl.java:759
> ----------------------------------------------------
>
>                 Key: BEAM-2834
>                 URL: https://issues.apache.org/jira/browse/BEAM-2834
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-dataflow
>    Affects Versions: 2.1.0
>            Reporter: Andy Barron
>            Assignee: Reuven Lax
>             Fix For: 2.2.0
>
>
> {code}
> java.lang.NullPointerException
>       at 
> org.apache.beam.sdk.io.gcp.bigquery.BigQueryServicesImpl$DatasetServiceImpl.insertAll(BigQueryServicesImpl.java:759)
>       at 
> org.apache.beam.sdk.io.gcp.bigquery.BigQueryServicesImpl$DatasetServiceImpl.insertAll(BigQueryServicesImpl.java:809)
>       at 
> org.apache.beam.sdk.io.gcp.bigquery.StreamingWriteFn.flushRows(StreamingWriteFn.java:126)
>       at 
> org.apache.beam.sdk.io.gcp.bigquery.StreamingWriteFn.finishBundle(StreamingWriteFn.java:96)
> {code}
> Going through the stack trace, the likely culprit is a null {{retryPolicy}} 
> in {{StreamingWriteFn}}.
> For context, this error showed up about 70 times between 1 am and 1 pm 
> Pacific time (2017-08-31) on a Dataflow streaming job.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to