beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2017) DataflowRunner: fix NullPointerException that can occur when no metrics are present
Date Wed, 19 Apr 2017 19:29:41 GMT

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

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

GitHub user dhalperi opened a pull request:

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

    [BEAM-2017] Fix NPE in DataflowRunner when there are no metrics

    R: @pabloem or @bjchambers 
    
    CC: @malo-denielou 

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

    $ git pull https://github.com/dhalperi/beam dataflow-metrics

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

    https://github.com/apache/beam/pull/2596.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 #2596
    
----
commit b0675c79bfcf500456a275f0033bc5844a4d4600
Author: Dan Halperin <dhalperi@google.com>
Date:   2017-04-19T19:13:59Z

    [BEAM-2017] Fix NPE in DataflowRunner when there are no metrics

----


> DataflowRunner: fix NullPointerException that can occur when no metrics are present
> -----------------------------------------------------------------------------------
>
>                 Key: BEAM-2017
>                 URL: https://issues.apache.org/jira/browse/BEAM-2017
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-dataflow
>            Reporter: Daniel Halperin
>            Assignee: Daniel Halperin
>             Fix For: First stable release
>
>
> {code}
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.beam.runners.dataflow.DataflowMetrics.populateMetricQueryResults(DataflowMetrics.java:118)
>         at org.apache.beam.runners.dataflow.DataflowMetrics.queryServiceForMetrics(DataflowMetrics.java:173)
>         at org.apache.beam.runners.dataflow.DataflowMetrics.queryMetrics(DataflowMetrics.java:186)
>         at com.google.cloud.dataflow.integration.autotuning.separation.SeparationHarness.verifySeparationInPipelineWithHangingFn(SeparationHarness.java:146)
>         at com.google.cloud.dataflow.integration.autotuning.separation.SeparationHarness.verifySeparationInPipeline(SeparationHarness.java:129)
>         at com.google.cloud.dataflow.integration.autotuning.separation.SeparationHarness.verifySeparation(SeparationHarness.java:120)
>         at com.google.cloud.dataflow.integration.autotuning.separation.InMemorySeparation.main(InMemorySeparation.java:19)
> {code}



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

Mime
View raw message