I'm running some tests on an Ignite cluster using an Ignite client. I'm
receiving a stacktrace quite regularly in the client - especially when the
cluster is freshly started. The exception occurs at the point that the
client is closed down (i.e. the try block completes) - see below log trace.

The exception doesn't seem to be related to what the test is actually doing
with Ignite.

        public void helloWorldCompute() {
                Ignition.setClientMode(true);               
                try (Ignite ignite = Ignition.start(CONFIG)) {
                        ignite.compute().broadcast(() -> 
System.out.println("Hello World"));
                }
        }

INFO  2016-06-09 11:30:49,385   [Log4J Redirect INFO-1]
AladdinLog4JAppender$SystemOutProxy - [11:30:49] Topology snapshot [ver=2,
servers=1, clients=1, CPUs=8, heap=4.5GB]

[11:30:49,666][SEVERE][tcp-client-disco-sock-writer-#2%null%][TcpDiscoverySpi]
Failed to send message: TcpDiscoveryPingResponse [clientExists=false,
super=TcpDiscoveryAbstractMessage [sndNodeId=null,
id=1e3d6b43551-cdbda7fe-4fd6-4339-855f-25d02ebb03bf, verifierNodeId=null,
topVer=0, pendingIdx=0, failedNodes=null, isClient=true]]
class org.apache.ignite.IgniteCheckedException: Failed to serialize object:
TcpDiscoveryPingResponse [clientExists=false,
super=TcpDiscoveryAbstractMessage [sndNodeId=null,
id=1e3d6b43551-cdbda7fe-4fd6-4339-855f-25d02ebb03bf, verifierNodeId=null,
topVer=0, pendingIdx=0, failedNodes=null, isClient=true]]
        at
org.apache.ignite.marshaller.jdk.JdkMarshaller.marshal(JdkMarshaller.java:82)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.writeToSocket(TcpDiscoverySpi.java:1381)
        at
org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.writeToSocket(TcpDiscoverySpi.java:1352)
        at
org.apache.ignite.spi.discovery.tcp.ClientImpl$SocketWriter.body(ClientImpl.java:1071)
        at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
Caused by: java.net.SocketException: Socket closed
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
        at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
        at
org.apache.ignite.marshaller.jdk.JdkMarshallerOutputStreamWrapper.flush(JdkMarshallerOutputStreamWrapper.java:58)
        at
java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1823)
        at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:719)
        at
org.apache.ignite.marshaller.jdk.JdkMarshaller.marshal(JdkMarshaller.java:79)
        ... 4 more
INFO  2016-06-09 11:30:49,677   [Log4J Redirect INFO-1]
AladdinLog4JAppender$SystemOutProxy - [11:30:49] Ignite node stopped OK
[uptime=00:00:00:292]


Is this a cause for concern, or just something I should ignore? Is there any
way to supress the error?

Thanks,
Colin.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Exception-on-Ignite-shutdown-tp5551.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to