You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Michal Walenia (Jira)" <ji...@apache.org> on 2019/11/14 08:22:00 UTC

[jira] [Resolved] (BEAM-7404) ObjectSizeCalculator not supported in Portable Java pipelines

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

Michal Walenia resolved BEAM-7404.
----------------------------------
    Fix Version/s: 2.16.0
       Resolution: Fixed

> ObjectSizeCalculator not supported in Portable Java pipelines
> -------------------------------------------------------------
>
>                 Key: BEAM-7404
>                 URL: https://issues.apache.org/jira/browse/BEAM-7404
>             Project: Beam
>          Issue Type: Bug
>          Components: testing
>            Reporter: Lukasz Gajowy
>            Assignee: Michal Walenia
>            Priority: Major
>             Fix For: 2.16.0
>
>         Attachments: stacktrace.txt
>
>
> In byte monitor there's a problem when using ObjectSizeCalculator. See the stacktrace for details. I think we should replace it.
>  
> {code:java}
> Caused by: java.lang.ExceptionInInitializerError
> at jdk.nashorn.internal.ir.debug.ObjectSizeCalculator.getObjectSize(ObjectSizeCalculator.java:122)
> at org.apache.beam.sdk.testutils.metrics.ByteMonitor.processElement(ByteMonitor.java:42)
> Caused by: java.lang.UnsupportedOperationException: ObjectSizeCalculator only supported on HotSpot VM{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)