Skip to content

openjdk环境报错:Caused by: java.lang.UnsupportedOperationException: ObjectSizeCalculator only supported on HotSpot VM #788

@pual-wei

Description

@pual-wei

2022-05-10 22:12:16.732 [Source: mysqlsourcefactory -> Sink: mysqlsinkfactory (1/1)#0] WARN org.apache.flink.runtime.taskmanager.Task.transitionState:1036 - Source: mysqlsourcefactory -> Sink: mysqlsinkfactory (1/1)#0 (e890ea51e566d6d6bebb67a1da45043a) switched from RUNNING to FAILED.
java.lang.ExceptionInInitializerError: null
at jdk.nashorn.internal.ir.debug.ObjectSizeCalculator.getObjectSize(ObjectSizeCalculator.java:122)
at com.dtstack.flinkx.source.format.BaseRichInputFormat.nextRecord(BaseRichInputFormat.java:202)
at com.dtstack.flinkx.source.format.BaseRichInputFormat.nextRecord(BaseRichInputFormat.java:67)
at com.dtstack.flinkx.source.DtInputFormatSourceFunction.run(DtInputFormatSourceFunction.java:133)
at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:110)
at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:66)
at org.apache.flink.streaming.runtime.tasks.SourceStreamTask$LegacySourceFunctionThread.run(SourceStreamTask.java:267)
Caused by: java.lang.UnsupportedOperationException: ObjectSizeCalculator only supported on HotSpot VM
at jdk.nashorn.internal.ir.debug.ObjectSizeCalculator.getEffectiveMemoryLayoutSpecification(ObjectSizeCalculator.java:400)
at jdk.nashorn.internal.ir.debug.ObjectSizeCalculator$CurrentLayout.(ObjectSizeCalculator.java:102)
... 7 common frames omitted

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions