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

Lukasz Gajowy updated BEAM-7404:
--------------------------------
    Description: 
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}

  was:In byte monitor there's a problem when using ObjectSizeCalculator. See 
the stacktrace for details. I think we should replace it.


> 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
>            Priority: Major
>         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
(v7.6.3#76005)

Reply via email to