Hi,
We had to shut down the cluster to move the data folder and after the
cluster restart I get status red. I emptied the data folder so basically I
have an empty cluster that is still red.
I would appreciate some help because I'm pretty stuck...
Cluster status:
curl 'http://localhost:9200/_cluster/_status?pretty'
{
"error" : "ClusterBlockException[blocked by: [SERVICE_UNAVAILABLE/1/state
not recovered / initialized];]",
"status" : 503
}
Cluster state:
curl -XGET 'http://localhost:9200/_cluster/state?pretty'
{
"cluster_name" : "es-demo",
"master_node" : "eNTXm_IQRMieenD80typPQ",
"blocks" : {
"global" : {
"1" : {
"description" : "state not recovered / initialized",
"retryable" : true,
"disable_state_persistence" : true,
"levels" : [ "read", "write", "metadata" ]
}
}
},
"nodes" : {
"xWnvRPzHTb2ntgD2TZc4Eg" : {
"name" : "ES001",
"transport_address" : "inet[/10.58.4.17:9300]",
"attributes" : {
"max_local_storage_nodes" : "1"
}
},
"eNTXm_IQRMieenD80typPQ" : {
"name" : "ES003",
"transport_address" : "inet[/10.58.4.19:9300]",
"attributes" : {
"max_local_storage_nodes" : "1"
}
},
"a_jtW1uWRZey5MTfAPgy-A" : {
"name" : "L001",
"transport_address" : "inet[/10.58.4.26:9300]",
"attributes" : {
"data" : "false",
"max_local_storage_nodes" : "1",
"master" : "false"
}
},
"OYYtDH6zRfCoSwSjscyVxQ" : {
"name" : "ES002",
"transport_address" : "inet[/10.58.4.18:9300]",
"attributes" : {
"max_local_storage_nodes" : "1"
}
}
},
"metadata" : {
"templates" : { },
"indices" : { }
},
"routing_table" : {
"indices" : { }
},
"routing_nodes" : {
"unassigned" : [ ],
"nodes" : {
"xWnvRPzHTb2ntgD2TZc4Eg" : [ ],
"eNTXm_IQRMieenD80typPQ" : [ ],
"OYYtDH6zRfCoSwSjscyVxQ" : [ ]
}
},
"allocations" : [ ]
}
the log:
[2013-12-10 22:48:21,952][WARN ][common.jna ] Unknown
mlockall error 0
[2013-12-10 22:48:22,036][INFO ][node ] [ES003]
version[0.90.7], pid[3646], build[36897d0/2013-11-13T12:06:54Z]
[2013-12-10 22:48:22,036][INFO ][node ] [ES003]
initializing ...
[2013-12-10 22:48:22,041][INFO ][plugins ] [ES003] loaded
[], sites []
[2013-12-10 22:48:23,974][INFO ][node ] [ES003]
initialized
[2013-12-10 22:48:23,974][INFO ][node ] [ES003]
starting ...
[2013-12-10 22:48:24,036][INFO ][transport ] [ES003]
bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address
{inet[/10.58.4.19:9300]}
[2013-12-10 22:48:27,126][INFO ][cluster.service ] [ES003]
new_master
[ES003][eNTXm_IQRMieenD80typPQ][inet[/10.58.4.19:9300]]{max_local_storage_nodes=1},
reason: zen-disco-join (elected_as_master)
[2013-12-10 22:48:27,137][INFO ][discovery ] [ES003]
es-demo/eNTXm_IQRMieenD80typPQ
[2013-12-10 22:48:27,140][INFO ][http ] [ES003]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address
{inet[/10.58.4.19:9200]}
[2013-12-10 22:48:27,141][INFO ][node ] [ES003] started
[2013-12-10 22:48:30,261][INFO ][cluster.service ] [ES003] added
{[ES001][xWnvRPzHTb2ntgD2TZc4Eg][inet[/10.58.4.17:9300]]{max_local_storage_nodes=1},},
reason: zen-disco-receive(join from node[[ES001][xWnvRPzHTb2ntgD2TZc4Eg][in$
[2013-12-10 22:48:30,526][INFO ][cluster.service ] [ES003] added
{[L001][a_jtW1uWRZey5MTfAPgy-A][inet[/10.58.4.26:9300]]{data=false,
max_local_storage_nodes=1, master=false},}, reason: zen-disco-receive(join
from node[[L001][a_$
[2013-12-10 22:48:33,238][INFO ][cluster.service ] [ES003] added
{[ES002][OYYtDH6zRfCoSwSjscyVxQ][inet[/10.58.4.18:9300]]{max_local_storage_nodes=1},},
reason: zen-disco-receive(join from node[[ES002][OYYtDH6zRfCoSwSjscyVxQ][in$
[2013-12-10 22:48:21,952][WARN ][common.jna ] Unknown
mlockall error 0
[2013-12-10 22:48:22,036][INFO ][node ] [ES003]
version[0.90.7], pid[3646], build[36897d0/2013-11-13T12:06:54Z]
[2013-12-10 22:48:22,036][INFO ][node ] [ES003]
initializing ...
[2013-12-10 22:48:22,041][INFO ][plugins ] [ES003] loaded
[], sites []
[2013-12-10 22:48:23,974][INFO ][node ] [ES003]
initialized
[2013-12-10 22:48:23,974][INFO ][node ] [ES003]
starting ...
[2013-12-10 22:48:24,036][INFO ][transport ] [ES003]
bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address
{inet[/10.58.4.19:9300]}
[2013-12-10 22:48:27,126][INFO ][cluster.service ] [ES003]
new_master
[ES003][eNTXm_IQRMieenD80typPQ][inet[/10.58.4.19:9300]]{max_local_storage_nodes=1},
reason: zen-disco-join (elected_as_master)
[2013-12-10 22:48:27,137][INFO ][discovery ] [ES003]
es-demo/eNTXm_IQRMieenD80typPQ
[2013-12-10 22:48:27,140][INFO ][http ] [ES003]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address
{inet[/10.58.4.19:9200]}
[2013-12-10 22:48:27,141][INFO ][node ] [ES003] started
[2013-12-10 22:48:30,261][INFO ][cluster.service ] [ES003] added
{[ES001][xWnvRPzHTb2ntgD2TZc4Eg][inet[/10.58.4.17:9300]]{max_local_storage_nodes=1},},
reason: zen-disco-receive(join from
node[[ES001][xWnvRPzHTb2ntgD2TZc4Eg][inet[/10.58.4.17:9300]]{max_local_storage_nodes=1}])
[2013-12-10 22:48:30,526][INFO ][cluster.service ] [ES003] added
{[L001][a_jtW1uWRZey5MTfAPgy-A][inet[/10.58.4.26:9300]]{data=false,
max_local_storage_nodes=1, master=false},}, reason: zen-disco-receive(join
from
node[[L001][a_jtW1uWRZey5MTfAPgy-A][inet[/10.58.4.26:9300]]{data=false,
max_local_storage_nodes=1, master=false}])
[2013-12-10 22:48:33,238][INFO ][cluster.service ] [ES003] added
{[ES002][OYYtDH6zRfCoSwSjscyVxQ][inet[/10.58.4.18:9300]]{max_local_storage_nodes=1},},
reason: zen-disco-receive(join from
node[[ES002][OYYtDH6zRfCoSwSjscyVxQ][inet[/10.58.4.18:9300]]{max_local_storage_nodes=1}])
Thanks,
Joe
--
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/12681325-822d-4a25-9bb8-3b37d738a360%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.