开发者社区 > 大数据与机器学习 > 人工智能平台PAI > 正文

机器学习PAI项目里使用报这个错是因为什么?

机器学习PAI项目里使用报这个错是因为什么?之前没遇到过db7d3be4baff0368ab1176249623d8fb.png 7f2136e2910ba25efdecad1124793f0d.png 2023-06-05 19:50:07 [XNIO-1 task-2] INFO o.a.f.a.java.typeutils.TypeExtractor

  • class org.apache.flink.types.Row is missing a default constructor so it cannot be used as a POJO type and must be processed as GenericType. Please read the Flink documentation on "Data Types & Serialization" for details of the effect on performance.

2023-06-05 19:50:07 [XNIO-1 task-2] INFO o.a.f.api.java.utils.PlanGenerator

  • The job has 11 registered types and 2 default Kryo serializers

2023-06-05 19:50:08 [XNIO-1 task-2] WARN o.a.f.a.j.t.r.kryo.KryoSerializer

  • Falling back to default Kryo serializer because Chill serializer couldn't be found.

java.lang.reflect.InvocationTargetException: null

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.getKryoInstance(KryoSerializer.java:444)

at org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.checkKryoInitialized(KryoSerializer.java:467)

at org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer.serialize(KryoSerializer.java:299)

at org.apache.flink.api.java.io.CollectionInputFormat.writeObject(CollectionInputFormat.java:90)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1145)

at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1497)

at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)

at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)

at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553)

at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510)

at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)

at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)

at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)

at java.base/java.util.HashMap.internalWriteEntries(HashMap.java:1858)

at java.base/java.util.HashMap.writeObject(HashMap.java:1412)

at java.base/jdk.internal.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

展开
收起
三分钟热度的鱼 2023-06-13 12:46:45 81 0
1 条回答
写回答
取消 提交回答
  • 回答3.png

    此答案来自钉钉群“阿里函数计算官网客户"

    2023-06-13 17:24:43
    赞同 展开评论 打赏

人工智能平台 PAI(Platform for AI,原机器学习平台PAI)是面向开发者和企业的机器学习/深度学习工程平台,提供包含数据标注、模型构建、模型训练、模型部署、推理优化在内的AI开发全链路服务,内置140+种优化算法,具备丰富的行业场景插件,为用户提供低门槛、高性能的云原生AI工程化能力。

相关产品

  • 人工智能平台 PAI
  • 热门讨论

    热门文章

    相关电子书

    更多
    大规模机器学习在蚂蚁+阿里的应用 立即下载
    基于Spark的面向十亿级别特征的 大规模机器学习 立即下载
    基于Spark的大规模机器学习在微博的应用 立即下载