the left node's log:
[2013-01-09 09:39:30,517][INFO ][discovery.zen ] [Quasimodo]
master_left [[Plague][_6-qEiuHQ76mjwFdTDF9eQ][inet[/10.232.42.205:9300]]],
reason [shut_down]
[2013-01-09 09:39:30,518][WARN ][discovery.zen ] [Quasimodo] not
enough master nodes after master left (reason = shut_down), current nodes:
{[Quasimodo][ts0Kq_c2RoCFwa-UKFI8Tg][inet[/10.232.42.204:9300]],}
[2013-01-09 09:39:30,518][INFO ][cluster.service ] [Quasimodo]
removed {[Plague][_6-qEiuHQ76mjwFdTDF9eQ][inet[/10.232.42.205:9300]],},
reason: zen-disco-master_failed
([Plague][_6-qEiuHQ76mjwFdTDF9eQ][inet[/10.232.42.205:9300]])
the master node's log
[2013-01-09 09:39:27,365][INFO ][action.admin.cluster.node.shutdown]
[Plague] [partial_cluster_shutdown]: requested, shutting down
[[_6-qEiuHQ76mjwFdTDF9eQ]] in [1s]
[2013-01-09 09:39:28,370][INFO ][action.admin.cluster.node.shutdown]
[Plague] shutting down in [200ms]
[2013-01-09 09:39:28,372][INFO ][action.admin.cluster.node.shutdown]
[Plague] [partial_cluster_shutdown]: done shutting down
[[_6-qEiuHQ76mjwFdTDF9eQ]]
[2013-01-09 09:39:28,572][INFO ][action.admin.cluster.node.shutdown]
[Plague] initiating requested shutdown (using service)
[2013-01-09 09:39:30,345][INFO ][node ] [Plague]
{0.19.11-SNAPSHOT}[16001]: stopping ...
[2013-01-09 09:39:30,531][INFO ][node ] [Plague]
{0.19.11-SNAPSHOT}[16001]: stopped
[2013-01-09 09:39:30,531][INFO ][node ] [Plague]
{0.19.11-SNAPSHOT}[16001]: closing ...
[2013-01-09 09:39:30,539][INFO ][node ] [Plague]
{0.19.11-SNAPSHOT}[16001]: closed
And I can not search the index, e.g. curl -XGET
localhost:9200/twitter/_search
在 2013年1月8日星期二UTC+8下午5时15分19秒,David Pilato写道:
Why do you think that a new master has not been elected?
Can you share your other nodes logs?
Le 8 janvier 2013 à 09:59, asoqa <aso...@gmail.com <javascript:>> a
écrit :
I have one cluster with two nodes. I used the curl command to shutdown
the master node:
$ curl -XPOST 'http://localhost:9200/_cluster/nodes/_master/_shutdown'
I thought es should automatically choose a new master node to replace
the failed one. But it seems things does not like what I think.
--
--
David Pilato
http://www.scrutmydocs.org/
http://dev.david.pilato.fr/
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
--