Restarting Rivers?


(phobos182) #1

I snapshotted my data on my elastic search test cluster, and restarted
the nodes. Now the twitter river I have installed is no longer pulling
down posts. How do I restart the twitter river? I do not see any
documentation for starting / stopping rivers.


(Shay Banon) #2

Strange..., this should not happen. Do you know if the river was created or
not (have a look at the logs, in 0.13, you will have a status API)? You
should see a log entry stating that it was created on one of the nodes you
have in the cluster. Currently, the only way to restart an existing river is
to restart the node it is running on (it will get allocated to another
node), but, there should be an API for that, can you open one?

-shay.banon

On Mon, Nov 15, 2010 at 4:51 PM, Jeremy Carroll phobos182@gmail.com wrote:

I snapshotted my data on my elastic search test cluster, and restarted
the nodes. Now the twitter river I have installed is no longer pulling
down posts. How do I restart the twitter river? I do not see any
documentation for starting / stopping rivers.


(phobos182) #3

Thanks for the quick response on this. I was not aware of the update
to .13. I will do that this afternoon.

I found stack traces in the logs on one of the nodes. The base reason
why it was not working was that the 'twitter-river' plugin was not
installed on that node. I have fixed this situation by installing the
plugin on all nodes in the cluster. Restarting the cluster and
removing the work directory loaded the most recent data from the
gateway snapshot, and it's back up and running.

Thanks for a little kick in the ass for 'user error'.

On Nov 15, 8:58 am, Shay Banon shay.ba...@elasticsearch.com wrote:

Strange..., this should not happen. Do you know if the river was created or
not (have a look at the logs, in 0.13, you will have a status API)? You
should see a log entry stating that it was created on one of the nodes you
have in the cluster. Currently, the only way to restart an existing river is
to restart the node it is running on (it will get allocated to another
node), but, there should be an API for that, can you open one?

-shay.banon

On Mon, Nov 15, 2010 at 4:51 PM, Jeremy Carroll phobos...@gmail.com wrote:

I snapshotted my data on my elastic search test cluster, and restarted
the nodes. Now the twitter river I have installed is no longer pulling
down posts. How do I restart the twitter river? I do not see any
documentation for starting / stopping rivers.


(system) #4