2.7.0 ML: Random Forest : NodeId exception

classic Classic list List threaded Threaded
2 messages Options
mahesh76private mahesh76private
Reply | Threaded
Open this post in threaded view
|

2.7.0 ML: Random Forest : NodeId exception

Hi,
When we tested RandomForest, we get the below exception?
What is this exception? What are we missing?
___
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
serialize object: IgniteBiTuple [val1=0, val2=1]
at
org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.marshal0(OptimizedMarshaller.java:207)
at
org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.marshal(AbstractNodeNameAwareMarshaller.java:58)
at
org.apache.ignite.internal.util.IgniteUtils.marshal(IgniteUtils.java:10222)
at
org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal0(BinaryWriterExImpl.java:196)
... 99 more
Caused by: java.io.IOException: Externalizable class doesn't have default
constructor: class org.apache.ignite.ml.tree.randomforest.data.NodeId
at
org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.<init>(OptimizedClassDescriptor.java:408)
at
org.apache.ignite.internal.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:210)
at
org.apache.ignite.internal.marshaller.optimized.OptimizedObjectOutputStream.writeObject0(OptimizedObjectOutputStream.java:201)
at
org.apache.ignite.internal.marshaller.optimized.OptimizedObjectOutputStream.writeObjectOverride(OptimizedObjectOutputStream.java:159)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
at
org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.marshal0(OptimizedMarshaller.java:202)
... 102 more
Caused by: java.lang.NoSuchMethodException:
org.apache.ignite.ml.tree.randomforest.data.NodeId.<init>()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.getDeclaredConstructor(Class.java:2178)
at
org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.<init>(OptimizedClassDescriptor.java:403)
... 107 more




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Алексей Платонов Алексей Платонов
Reply | Threaded
Open this post in threaded view
|

Re: 2.7.0 ML: Random Forest : NodeId exception

Hi,
Indeed, there is exists such bug. Thanks a lot.

Best regards,
Alexey Platonov.

ср, 6 февр. 2019 г. в 13:46, mahesh76private <[hidden email]>:
Hi,
When we tested RandomForest, we get the below exception?
What is this exception? What are we missing?
___
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
serialize object: IgniteBiTuple [val1=0, val2=1]
at
org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.marshal0(OptimizedMarshaller.java:207)
at
org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.marshal(AbstractNodeNameAwareMarshaller.java:58)
at
org.apache.ignite.internal.util.IgniteUtils.marshal(IgniteUtils.java:10222)
at
org.apache.ignite.internal.binary.BinaryWriterExImpl.marshal0(BinaryWriterExImpl.java:196)
... 99 more
Caused by: java.io.IOException: Externalizable class doesn't have default
constructor: class org.apache.ignite.ml.tree.randomforest.data.NodeId
at
org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.<init>(OptimizedClassDescriptor.java:408)
at
org.apache.ignite.internal.marshaller.optimized.OptimizedMarshallerUtils.classDescriptor(OptimizedMarshallerUtils.java:210)
at
org.apache.ignite.internal.marshaller.optimized.OptimizedObjectOutputStream.writeObject0(OptimizedObjectOutputStream.java:201)
at
org.apache.ignite.internal.marshaller.optimized.OptimizedObjectOutputStream.writeObjectOverride(OptimizedObjectOutputStream.java:159)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
at
org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller.marshal0(OptimizedMarshaller.java:202)
... 102 more
Caused by: java.lang.NoSuchMethodException:
org.apache.ignite.ml.tree.randomforest.data.NodeId.<init>()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.getDeclaredConstructor(Class.java:2178)
at
org.apache.ignite.internal.marshaller.optimized.OptimizedClassDescriptor.<init>(OptimizedClassDescriptor.java:403)
... 107 more




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/