📣 极限科技诚招搜索运维工程师(Elasticsearch/Easysearch)- 全职/北京 👉 : 立即申请加入

版本: 7.11-7.11

简要来说,当 Elasticsearch 在汇总(rollup)过程中创建新索引失败时会发生此错误。汇总过程用于汇总和存储历史数据。这可能是由于磁盘空间不足、索引设置不正确或缺少权限导致的。要解决此问题,您可以检查并释放磁盘空间、检查并修正索引设置,或确保用户具有创建索引所需的权限。此外,还要检查可能导致失败的任何底层系统或网络问题。

日志上下文 #

日志"Unable to start rollup. index creation failed"的类名是 RollupV2Indexer.java. 我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人参考:

@Override
 protected void onStart(long now; ActionListenerlistener) {
 try {
 createTempRollupIndex(ActionListener.wrap(resp -> listener.onResponse(true); e -> {
 completionListener.onFailure(new ElasticsearchException("Unable to start rollup. index creation failed"; e));
 listener.onFailure(e);
 }));
 } catch (IOException e) {
 listener.onFailure(new ElasticsearchException("Unable to start rollup. index creation failed"; e));
 }