[
https://issues.apache.org/jira/browse/IGNITE-22782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Amelchev updated IGNITE-22782:
-------------------------------------
Description:
Do not print dev warning if the class is related to a management API task
(extended in plugins).
{noformat}
[2024-07-19T15:44:39,289][WARN ][mgmt-#256%test.Test1%][BinaryContext] Class
"org.TestClass" cannot be serialized using
BinaryMarshaller because it either implements Externalizable interface or have
writeObject/readObject methods.
OptimizedMarshaller will be used instead and class instances will be
deserialized on the server.
Please ensure that all nodes have this class in classpath. To enable binary
serialization either implement Binarylizable
interface or set explicit serializer using
BinaryTypeConfiguration.setSerializer() method.
{noformat}
was:
Do not print dev warning if the class is a management API task (extended in
plugins).
{noformat}
[2024-07-19T15:44:39,289][WARN ][mgmt-#256%test.Test1%][BinaryContext] Class
"org.TestClass" cannot be serialized using
BinaryMarshaller because it either implements Externalizable interface or have
writeObject/readObject methods.
OptimizedMarshaller will be used instead and class instances will be
deserialized on the server.
Please ensure that all nodes have this class in classpath. To enable binary
serialization either implement Binarylizable
interface or set explicit serializer using
BinaryTypeConfiguration.setSerializer() method.
{noformat}
> Fix dev warning about serialization if the class is related to a management
> API task.
> -------------------------------------------------------------------------------------
>
> Key: IGNITE-22782
> URL: https://issues.apache.org/jira/browse/IGNITE-22782
> Project: Ignite
> Issue Type: Bug
> Reporter: Nikita Amelchev
> Assignee: Nikita Amelchev
> Priority: Minor
> Fix For: 2.17
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Do not print dev warning if the class is related to a management API task
> (extended in plugins).
> {noformat}
> [2024-07-19T15:44:39,289][WARN ][mgmt-#256%test.Test1%][BinaryContext] Class
> "org.TestClass" cannot be serialized using
> BinaryMarshaller because it either implements Externalizable interface or
> have writeObject/readObject methods.
> OptimizedMarshaller will be used instead and class instances will be
> deserialized on the server.
> Please ensure that all nodes have this class in classpath. To enable binary
> serialization either implement Binarylizable
> interface or set explicit serializer using
> BinaryTypeConfiguration.setSerializer() method.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)