Hi MJ.
This is a bug, i've created a jira for it:
https://issues.apache.org/jira/browse/IGNITE-15867
However this should not affect ignite workflow, since it just produces
excessive stack traces and nothing more.
On 2021/11/03 03:27:42 "MJ" wrote:
> Hi,
>
>
>
>
>
>
> I experienced frequent "Failed to shutdown socket" warnings (see
below) in testing ignite 2.11.0.
>
> Compared org.apache.ignite.internal.util.IgniteUtils 2.11.0
(line:4227) vs 2.10.0 , the method( public static void
close(@Nullable Socket sock, @Nullable IgniteLogger log) ) is newly
added. Not sure if these methods close/closeQuiet ’s related to
IGNITE_QUIET setting but it’s always throwing below warnings no matter
IGNITE_QUIET is true or false .
>
>
>
> And yes those warnings can be suppressed by setting logging level to
ERROR. I am not sure if that’s the issue in my code or just flaw in
ignite. But is there any other way to gracefully clean up them by coding
? Those exception stacktraces are not good for production usage.
>
>
>
>
>
> 2021-11-03 08:33:05,745 [ WARN]
[grid-nio-worker-client-listener-2-#34%ignitePoc_primary%]
org.apache.ignite.internal.processors.odbc.ClientListenerProcessor -
Failed to shutdown socket: null
>
> java.nio.channels.ClosedChannelException
>
> at
sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:797)
>
> at
sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:407)
>
> at
org.apache.ignite.internal.util.IgniteUtils.close(IgniteUtils.java:4231)
>
> at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.closeKey(GridNioServer.java:2784)
>
> at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.close(GridNioServer.java:2835)
>
> at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.close(GridNioServer.java:2794)
>
> at
org.apache.ignite.internal.util.nio.GridNioServer$DirectNioClientWorker.processRead(GridNioServer.java:1357)
>
> at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2508)
>
> at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2273)
>
> at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1910)
>
> at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
>
> at
java.lang.Thread.run(Thread.java:748)
>
>
>
>
>
>
>
> Thanks,
>
> MJ