Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7404

ObjectSizeCalculator not supported in Portable Java pipelines

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • Not applicable
    • testing
    • None

    Description

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

       

      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

      Attachments

        1. stacktrace.txt
          32 kB
          Lukasz Gajowy

        Activity

          People

            mwalenia Michał Walenia
            ŁukaszG Lukasz Gajowy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: