I have no idea how this happened. Here is the manipulation performed:
$ curl -XGET http://localhost:9200/_nodes/process?pretty
{
"ok" : true,
"cluster_name" : "elasticsearch",
"nodes" : {
"YSSDK3IqQIuquOuFUv8wKg" : {
"name" : "David",
"transport_address" : "inet[/127.0.0.1:9300]",
"hostname" : "Webmaster-Server-2",
"version" : "0.90.10",
"http_address" : "inet[/127.0.0.1:9200]",
"attributes" : {
"max_local_storage_nodes" : "1",
"master" : "true"
},
"process" : {
"refresh_interval" : 1000,
"id" : 18494,
"max_file_descriptors" : 4096,
"mlockall" : true
}
},
"0Wjpr1C2Qcm-l3t6fyZ-UQ" : {
"name" : "Book",
"transport_address" : "inet[/26.220.169.56:9301]",
"hostname" : "Webmaster-Server-2",
"version" : "0.90.3",
"attributes" : {
"client" : "true",
"data" : "false"
},
"process" : {
"refresh_interval" : 1000,
"id" : 14758,
"max_file_descriptors" : 4096,
"mlockall" : false
}
}
}
}
$ service elasticsearch stop
Stopping Elasticsearch...
Stopped Elasticsearch.
$ curl -XGET http://localhost:9200/_nodes/process?pretty
curl: (7) couldn't connect to host
$ cd ~/install/elasticsearch
$ cp /usr/local/share/elasticsearch/config/elasticsearch.yml
~/install/elasticsearch
$ wget
https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.11.tar.gz
$ tar -zxvf elasticsearch-0.90.11.tar.gz
$ rm -rf /usr/local/share/elasticsearch*
$ mv elasticsearch-0.90.11 /usr/local/share/elasticsearch
$ cd /usr/local/share
$ sudo chmod 755 elasticsearch
$ cd -
$ curl -L
http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master
| tar -xz
$ sudo mv servicewrapper/service /usr/local/share/elasticsearch/bin/
$ rm -Rf servicewrapper
$ sudo /usr/local/share/elasticsearch/bin/service/elasticsearch remove
Detected Ubuntu:
Stopping Elasticsearch...
Elasticsearch was not running.
Removing Elasticsearch daemon from init.d...
Removing any system startup links for /etc/init.d/elasticsearch ...
/etc/rc0.d/K20elasticsearch
/etc/rc1.d/K20elasticsearch
/etc/rc2.d/S20elasticsearch
/etc/rc3.d/S20elasticsearch
/etc/rc4.d/S20elasticsearch
/etc/rc5.d/S20elasticsearch
/etc/rc6.d/K20elasticsearch
$ sudo /usr/local/share/elasticsearch/bin/service/elasticsearch install
Detected Ubuntu:
Installing the Elasticsearch daemon using init.d..
Adding system startup for /etc/init.d/elasticsearch ...
/etc/rc0.d/K20elasticsearch -> ../init.d/elasticsearch
/etc/rc1.d/K20elasticsearch -> ../init.d/elasticsearch
/etc/rc6.d/K20elasticsearch -> ../init.d/elasticsearch
/etc/rc2.d/S20elasticsearch -> ../init.d/elasticsearch
/etc/rc3.d/S20elasticsearch -> ../init.d/elasticsearch
/etc/rc4.d/S20elasticsearch -> ../init.d/elasticsearch
/etc/rc5.d/S20elasticsearch -> ../init.d/elasticsearch
$ cp ./elasticsearch.yml /usr/local/share/elasticsearch/config/
$ service elasticsearch start
$ curl -XGET http://localhost:9200/_nodes/process?pretty
{
"ok" : true,
"cluster_name" : "elasticsearch",
"nodes" : {
"ccMmhlTaSgigmkLuOFZTVQ" : {
"name" : "Firearm",
"transport_address" : "inet[/26.220.169.56:9301]",
"hostname" : "Webmaster-Server-2",
"version" : "0.90.3",
"attributes" : {
"client" : "true",
"data" : "false"
},
"process" : {
"refresh_interval" : 1000,
"id" : 2037,
"max_file_descriptors" : 4096,
"mlockall" : false
}
},
"WLsYqX09T06HcdU8Ztk3dg" : {
"name" : "David",
"transport_address" : "inet[/127.0.0.1:9300]",
"hostname" : "Webmaster-Server-2",
"version" : "0.90.11",
"http_address" : "inet[/127.0.0.1:9200]",
"attributes" : {
"max_local_storage_nodes" : "1",
"master" : "true"
},
"process" : {
"refresh_interval" : 1000,
"id" : 9642,
"max_file_descriptors" : 4096,
"mlockall" : true
}
}
}
}
Le lundi 3 février 2014 22:31:12 UTC+1, Tony Su a écrit :
Hi,
Your post looks somewhat similar to something I posted a few days ago.
Am unclear why you may be stuck with 2 nodes running different versions of
ES.
They both need to be the same version to function as a cluster.
Your output says your upgraded node is ES 0.90.10 (not 0.90.9).
Surely you can upgrade your node running 0.90.3 to this same version?
If you are having a problem, what are the steps you tried and the problem
you ran into?
Tony
On Monday, February 3, 2014 12:17:45 PM UTC-8, David Patiashvili wrote:
Hello,
I need help. I just updated to 0.90.3 to 0.90.9 Elasticsearch and my 2
nodes cluster I with different versions ...
I can not update the version of the node 0.90.3 or delete.
Any idea ?
Thanks.
$ curl -XGET http://localhost:9200/_nodes/process?pretty
{
"ok" : true,
"cluster_name" : "elasticsearch",
"nodes" : {
"YSSDK3IqQIuquOuFUv8wKg" : {
"name" : "David",
"transport_address" : "inet[/127.0.0.1:9300]",
"hostname" : "Webmaster-Server-2",
"version" : "0.90.10",
"http_address" : "inet[/127.0.0.1:9200]",
"attributes" : {
"max_local_storage_nodes" : "1",
"master" : "true"
},
"process" : {
"refresh_interval" : 1000,
"id" : 18494,
"max_file_descriptors" : 4096,
"mlockall" : true
}
},
"0Wjpr1C2Qcm-l3t6fyZ-UQ" : {
"name" : "Book",
"transport_address" : "inet[/26.220.169.56:9301]",
"hostname" : "Webmaster-Server-2",
"version" : "0.90.3",
"attributes" : {
"client" : "true",
"data" : "false"
},
"process" : {
"refresh_interval" : 1000,
"id" : 14758,
"max_file_descriptors" : 4096,
"mlockall" : false
}
}
}
}
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bc3e3f86-c301-47c4-a205-b4f30eddacb6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.