版本: 8.3-8.9
简要来说,当 Elasticsearch 无法创建汇总索引(rollup index)时会出现此错误。汇总索引用于汇总和存储历史数据。此错误可能是由于权限不足、索引名称不正确或资源不足导致的。要解决此问题,请确保用户具有创建索引的必要权限。检查汇总索引名称中是否包含无效字符或语法错误。同时,确保有足够的资源(如磁盘空间)可供创建新索引使用。
日志上下文 #
日志 “Failed to create rollup index [” + rollupIndexName + “]” 的类名是 TransportDownsampleAction.java。我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的用户参考:
new ElasticsearchException("Unable to index into rollup index [" + rollupIndexName + "]")
);
}
}; e -> deleteRollupIndex(sourceIndexName; rollupIndexName; parentTask; listener; e)));
} else {
listener.onFailure(new ElasticsearchException("Failed to create rollup index [" + rollupIndexName + "]"));
}
}; listener::onFailure));
}; listener::onFailure));
}





