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

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

                Author: ASF GitHub Bot
            Created on: 28/Oct/18 17:23
            Start Date: 28/Oct/18 17:23
    Worklog Time Spent: 10m 
      Work Description: lgajowy edited a comment on issue #6863: [BEAM-5886] 
Fix incorrectly formulated condition in checkState method
URL: https://github.com/apache/beam/pull/6863#issuecomment-433723542
 
 
   I think that there's also a problem with creating the "fatal" metric 
counter. Even though it was created using `Metrics.counter()` method, it was 
not found  (hence 0 counters with the name "fatal" and the error this PR fixes).
   
   One line from the logs caught my attention (from a successful run): 
   ```
   SEVERE: Failed to get metric fatal, from namespace Query9
   ```
   This looks analogously for every query. I can take a closer look at this 
later.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 159737)
    Time Spent: 40m  (was: 0.5h)

> Nexmark failing due to IllegalStateException
> --------------------------------------------
>
>                 Key: BEAM-5886
>                 URL: https://issues.apache.org/jira/browse/BEAM-5886
>             Project: Beam
>          Issue Type: Task
>          Components: test-failures, testing
>            Reporter: Lukasz Gajowy
>            Assignee: Lukasz Gajowy
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Nexmark fails due to the following error:
>  
> {code:java}
> java.lang.RuntimeException: java.lang.IllegalStateException: More than one 
> metric matches name: fatal in namespace Query0.
> 13:05:49   0012  *** not run ***
> 13:05:49 
> ==========================================================================================
> 13:05:49      at org.apache.beam.sdk.nexmark.Main.runAll(Main.java:144)
> 13:05:49 
> 13:05:49      at org.apache.beam.sdk.nexmark.Main.main(Main.java:477)
> 13:05:49 Caused by: java.lang.IllegalStateException: More than one metric 
> matches name: fatal in namespace Query0.
> 13:05:49      at 
> org.apache.beam.repackaged.beam_sdks_java_test_utils.com.google.common.base.Preconditions.checkState(Preconditions.java:444)
> 13:05:49      at 
> org.apache.beam.sdk.testutils.metrics.MetricsReader.checkIfMetricResultIsUnique(MetricsReader.java:127)
> 13:05:49      at 
> org.apache.beam.sdk.testutils.metrics.MetricsReader.getCounterMetric(MetricsReader.java:65)
> 13:05:49      at 
> org.apache.beam.sdk.nexmark.NexmarkLauncher.monitor(NexmarkLauncher.java:447)
> 13:05:49      at 
> org.apache.beam.sdk.nexmark.NexmarkLauncher.run(NexmarkLauncher.java:1156)
> 13:05:49      at org.apache.beam.sdk.nexmark.Main$Run.call(Main.java:108)
> 13:05:49      at org.apache.beam.sdk.nexmark.Main$Run.call(Main.java:96)
> 13:05:49      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 13:05:49      at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 13:05:49      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 13:05:49      at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 13:05:49      at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 13:05:49      at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to