Uncaught exception when retrieving whether plugin is ready for node shutdown – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.14-8.9

Briefly, this error occurs when Elasticsearch encounters an unexpected issue while checking if a plugin is ready for node shutdown. This could be due to a malfunctioning plugin, network issues, or insufficient permissions. To resolve this, you can try restarting the Elasticsearch node, checking the plugin’s configuration, or ensuring the user running Elasticsearch has the necessary permissions. If the issue persists, consider disabling or uninstalling the problematic plugin.

This guide will help you check for common problems that cause the log ” uncaught exception when retrieving whether plugin is ready for node shutdown ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin, node.

Log Context

Log “uncaught exception when retrieving whether plugin is ready for node shutdown” classname is PluginShutdownService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

                if (plugin.safeToShutdown(nodeId; shutdownType) == false) {
                    logger.trace("shutdown aware plugin [{}] is not yet ready for shutdown"; plugin);
                    return false;
                }
            } catch (Exception e) {
                logger.warn("uncaught exception when retrieving whether plugin is ready for node shutdown"; e);
            }
        }
        return true;
    }

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?