Re: elasticsearch: simple cluster. Can't change nodes. Please, help.

2014-06-11 Thread Dmitriy Kargapolov
Thanks for answering me. But all works now! I made all necessary operations very slowly and carefully with full restart of servers. And all work properly. I am really don't understand what the matter was. Maybe I should to restart some service or process besides elasticsearch service to make change

Re: elasticsearch: simple cluster. Can't change nodes. Please, help.

2014-06-10 Thread sirkubax
*Try add ""data" : "false"* You can do it in you elasticserh.yml # You can exploit these settings to design advanced cluster topologies. # # 1. You want this node to never become a master node, only to hold data. #This will be the "workhorse" of your cluster. # # node.master: false # node.da

Re: elasticsearch: simple cluster. Can't change nodes. Please, help.

2014-06-10 Thread sirkubax
Try add " "data" : "false" to the node that you would like to remove data (you are trying to move from node4 -> node3 right?). I'm not sure, but when operation succeed, data will be copied to node3, *but* it *as far as I know* dhe data will stay on node, To be sure compare folder size, and if c

Re: elasticsearch: simple cluster. Can't change nodes. Please, help.

2014-06-09 Thread Dmitriy Kargapolov
This command show: C:\Program Files\Elasticsearch\bin>curl -XGET "http://localhost:9204/_nodes/_all/process?pretty=true"; { "ok" : true, "cluster_name" : "mycluster", "nodes" : { "RTlR2GvATs-jqYSRQ5c6bg" : { "name" : "node4", "transport_address" : "inet[/192.168.0.89:9304]",

Re: elasticsearch: simple cluster. Can't change nodes. Please, help.

2014-06-09 Thread sirkubax
What this commnad show curl -XGET 'http://localhost:9200/_nodes/_all/process?pretty=true' |less W dniu poniedziałek, 9 czerwca 2014 16:41:25 UTC+2 użytkownik Dmitriy Kargapolov napisał: > > I have a simple cluster with 2 nodes: master/data and data. I need to move > master data to another serve

elasticsearch: simple cluster. Can't change nodes. Please, help.

2014-06-09 Thread Dmitriy Kargapolov
I have a simple cluster with 2 nodes: master/data and data. I need to move master data to another server. I tried to change master to data and data to master, also made 3 node master. But always I had one result. Status of cluster was green and I all shards were 0, but in home directory I had al