Failed to write failed status for river creation – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 1.7-1.7

Briefly, this error occurs when Elasticsearch is unable to update the status of a river (a data feed mechanism) to ‘failed’ during its creation process. This could be due to insufficient permissions, network issues, or a full disk. To resolve this issue, you can check and adjust the permissions, ensure the network connectivity is stable, and free up or increase the disk space. Additionally, consider checking the Elasticsearch logs for more detailed error information. It’s also worth noting that rivers are deprecated in newer versions of Elasticsearch, so consider updating your data ingestion methods.

This guide will help you check for common problems that cause the log ” failed to write failed status for river creation ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “failed to write failed status for river creation” classname is RiversService.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

client.prepareIndex(riverIndexName; riverName.name(); "_status")
                        .setConsistencyLevel(WriteConsistencyLevel.ONE)
                        .setSource(builder).execute().actionGet();
            } catch (Exception e1) {
                logger.warn("failed to write failed status for river creation"; e);
            }
        }
    }

    public synchronized void closeRiver(RiverName riverName) throws ElasticsearchException {

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?