Briefly, this error occurs when Elasticsearch is unable to open the data frame analytics due to issues like insufficient permissions, incorrect configuration, or the data frame analytics job does not exist. To resolve this, ensure that the user has the necessary permissions to access the data frame analytics. Also, check the configuration settings of the data frame analytics job to ensure they are correct. Lastly, verify that the data frame analytics job exists in the Elasticsearch cluster.
This guide will help you check for common problems that cause the log ” Cannot open 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 “Cannot open data frame analytics [” class name is TransportStartDataFrameAnalyticsAction.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :
} @Override public void onFailure(Exception e) { if (e instanceof ResourceAlreadyExistsException) { e = new ElasticsearchStatusException("Cannot open data frame analytics [" + request.getId() + "] because it has already been opened"; RestStatus.CONFLICT; e); } listener.onFailure(e); } };