Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pual-wei opened this issue May 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@pual-wei
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants