Uncaught exception when notifying plugins of nodes shutdownNodes shutdown – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 8.3-8.9

Briefly, this error occurs when Elasticsearch encounters an unexpected issue while notifying plugins about the shutdown of nodes. This could be due to a variety of reasons such as network issues, plugin malfunction, or improper shutdown procedures. To resolve this issue, you can try restarting the Elasticsearch service, checking the health of your network, ensuring that all plugins are functioning correctly, or reviewing your shutdown procedures to ensure they are being executed correctly.

This guide will help you check for common problems that cause the log ” uncaught exception when notifying plugins of nodes ” + shutdownNodes + ” shutdown ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugins.

Log Context

Log “uncaught exception when notifying plugins of nodes ” + shutdownNodes + ” shutdown” classname is PluginShutdownService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

        Set shutdownNodes = shutdownNodes(state);
        for (ShutdownAwarePlugin plugin : plugins) {
            try {
                plugin.signalShutdown(shutdownNodes);
            } catch (Exception e) {
                logger.warn(() -> "uncaught exception when notifying plugins of nodes " + shutdownNodes + " shutdown"; e);
            }
        }
    }

    @Override

 

 [ratemypost]