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

版本: 7.2-7.4

简而言之,当 Elasticsearch 无法找到特定数据帧转换的任务时,就会发生此错误。这可能是由于任务被删除、尚未创建或使用了错误的任务 ID 导致。要解决此问题,您可以验证任务 ID,确保在尝试访问任务之前已创建该任务,或检查任务是否被意外删除。如果任务已被删除,您可能需要重新创建它。

日志上下文 #

日志 “Task for data frame transform [” + request.getId() + “] not found” 的类名是 TransportStartDataFrameTransformTaskAction.java. 我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人使用:

// Either the transform doesn't exist (the user didn't create it yet) or was deleted
 // after the StartAPI executed.
 // In either case; let the user know
 if (tasks.size() == 0) {
 throw new ResourceNotFoundException("Task for data frame transform [" + request.getId() + "] not found");
 }  assert tasks.size() == 1;  boolean allStarted = tasks.stream().allMatch(StartDataFrameTransformTaskAction.Response::isStarted);