flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiayi Liao (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLINK-14519) Fail on invoking declineCheckpoint remotely
Date Fri, 25 Oct 2019 11:43:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-14519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16959667#comment-16959667
] 

Jiayi Liao edited comment on FLINK-14519 at 10/25/19 11:42 AM:
---------------------------------------------------------------

[~tison]  I was choosing the wrong affected version by mistake. Thanks for pointing it out.



was (Author: wind_ljy):
[~tison]  I'm choosing the wrong affected version by mistake. Thanks for pointing it out.


> Fail on invoking declineCheckpoint remotely
> -------------------------------------------
>
>                 Key: FLINK-14519
>                 URL: https://issues.apache.org/jira/browse/FLINK-14519
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / State Backends
>    Affects Versions: 1.9.0
>            Reporter: Jiayi Liao
>            Priority: Major
>
> On invoking {{declineCheckpoint}}, the reason field of {{DeclineCheckpoint}} is not serializable
when  it is a {{RocksDBException}} because {{org.rocksdb.Status}} doesn't implement serializable.
> {panel:title=Exception}
> Caused by: java.io.IOException: Could not serialize 0th argument of method declineCheckpoint.
This indicates that the argument type [Ljava.lang.Object; is not serializable. Arguments have
to be serializable for remote rpc calls.
>         at org.apache.flink.runtime.rpc.messages.RemoteRpcInvocation$MethodInvocation.writeObject(RemoteRpcInvocation.java:186)
>         at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
>         at org.apache.flink.util.InstantiationUtil.serializeObject(InstantiationUtil.java:586)
>         at org.apache.flink.util.SerializedValue.<init>(SerializedValue.java:52)
>         at org.apache.flink.runtime.rpc.messages.RemoteRpcInvocation.<init>(RemoteRpcInvocation.java:53)
>         at org.apache.flink.runtime.rpc.akka.AkkaInvocationHandler.createRpcInvocationMessage(AkkaInvocationHandler.java:264)
>         at org.apache.flink.runtime.rpc.akka.AkkaInvocationHandler.invokeRpc(AkkaInvocationHandler.java:200)
>         at org.apache.flink.runtime.rpc.akka.AkkaInvocationHandler.invoke(AkkaInvocationHandler.java:129)
>         at org.apache.flink.runtime.rpc.akka.FencedAkkaInvocationHandler.invoke(FencedAkkaInvocationHandler.java:78)
>         ... 18 more
> Caused by: java.io.NotSerializableException: org.rocksdb.Status
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
>         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
>         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
>         at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:441)
>         at java.lang.Throwable.writeObject(Throwable.java:985)
>         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1028)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
>         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
>         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
>         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
>         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
>         at org.apache.flink.runtime.rpc.messages.RemoteRpcInvocation$MethodInvocation.writeObject(RemoteRpcInvocation.java:182)
>         ... 33 more
> {panel}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message