版本: 7.11-8.9
简要来说,当Elasticsearch尝试安装资源但由于导出器正忙于处理另一个任务而无法完成时,会出现此错误。这可能是由于系统负载过高、资源不足或配置问题导致的。要解决此问题,你可以尝试增加系统资源,调整Elasticsearch配置以更好地处理负载,或检查是否有任何不必要消耗资源的任务并停止它们。如果问题持续存在,可能需要深入检查系统日志以获取更详细的信息。
日志上下文 #
日志"exporter is busy installing resources"的类名是 LocalExporter.java。我们从Elasticsearch源代码中提取了以下内容,供那些需要深入了解上下文的用户参考:
try (ThreadContext.StoredContext ignore = client.threadPool().getThreadContext().stashWithOrigin(MONITORING_ORIGIN)) {
asyncActions.forEach(Runnable::run);
}
} else {
// This shouldn't be changed by now since resource installation should be blocked; but throw an exception for sanity
throw new ElasticsearchException("exporter is busy installing resources");
}
} else {
// Nothing to setup. Check status flags to see if anything was missed; or if anything is in flight.
if (errors.size() > 0) {
// in case we run into scenarios where resource tasks were not created for some reason (like watcher is disabled).





