Briefly, this error occurs when Elasticsearch is initiating a data frame analytics job. It’s not an error message but an informational log indicating the start of a process. However, if this process is stuck or not completing, it could be due to insufficient resources, incorrect configurations, or issues with the data. To resolve this, ensure your cluster has enough resources (CPU, memory, disk space), check your data frame analytics configurations for any errors, and verify the integrity of your data. If the issue persists, consider breaking down the job into smaller tasks.
This guide will help you check for common problems that cause the log ” [{}] Starting data frame analytics ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.
Log Context
Log “[{}] Starting data frame analytics” classname is TransportStartDataFrameAnalyticsAction.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :
} @Override protected void nodeOperation(AllocatedPersistentTask task; StartDataFrameAnalyticsAction.TaskParams params; PersistentTaskState state) { logger.info("[{}] Starting data frame analytics"; params.getId()); DataFrameAnalyticsTaskState analyticsTaskState = (DataFrameAnalyticsTaskState) state; // If we are "stopping" there is nothing to do // If we are "failed" then we should leave the task as is; for recovery it must be force stopped. if (analyticsTaskState != null && analyticsTaskState.getState().isAnyOf(