I have a the following problem. My network crashed in the night and one
node died. The Cluster has 11 nodes and 3 replicas. I can't start the
Elastic Search with all shards. Many shards are unassign. I can see
shards on the disks. Can I force, that ElasticSearch use these shards?
regards
Michael
--
Michael Rennecke *
Junior Systemarchitekt, Semantic Web Project, IT
You need to figure out which nodes see each other, is it one node that got
disconnected? Simplest way to bring things back up is to shutdown and start
the cluster. Otherwise, you need to figure out which nodes got disconnected,
and restart them.
Which version are you using? To better handle this, I highly recommend
setting the discovery.zen.minimum_master_nodes setting (and use latest
version). For an 11 node cluster, set it to something like 3 or 4.
I have a the following problem. My network crashed in the night and one
node died. The Cluster has 11 nodes and 3 replicas. I can't start the
Elastic Search with all shards. Many shards are unassign. I can see
shards on the disks. Can I force, that Elasticsearch use these shards?
regards
Michael
--
Michael Rennecke *
Junior Systemarchitekt, Semantic Web Project, IT
I use the 0.17.6 of elsatic search. The restart of the complete cluster
don't work I set discovery.zen.minimum_master_nodes to 3
Elasticsearch head see all nodes, with curl i can also see all nodes.
Am 19.09.2011 10:59, schrieb Shay Banon:
You need to figure out which nodes see each other, is it one node that got
disconnected? Simplest way to bring things back up is to shutdown and start
the cluster. Otherwise, you need to figure out which nodes got disconnected,
and restart them.
Which version are you using? To better handle this, I highly recommend
setting the discovery.zen.minimum_master_nodes setting (and use latest
version). For an 11 node cluster, set it to something like 3 or 4.
I have a the following problem. My network crashed in the night and one
node died. The Cluster has 11 nodes and 3 replicas. I can't start the
Elastic Search with all shards. Many shards are unassign. I can see
shards on the disks. Can I force, that Elasticsearch use these shards?
regards
Michael
--
Michael Rennecke *
Junior Systemarchitekt, Semantic Web Project, IT
What do you mean it did not work? Is the cluster in RED health after the
restart? If so, you can understand a bit why by setting logging
on gateway.local to DEBUG. Try and restart the cluster and
set index.recovery.initial_shards setting to 1, see if it helps (make sure
to set those settings on all nodes, though it is really needed on the
elected master of the cluster).
I use the 0.17.6 of elsatic search. The restart of the complete cluster
don't work I set discovery.zen.minimum_master_nodes to 3
Elasticsearch head see all nodes, with curl i can also see all nodes.
Am 19.09.2011 10:59, schrieb Shay Banon:
You need to figure out which nodes see each other, is it one node that
got
disconnected? Simplest way to bring things back up is to shutdown and
start
the cluster. Otherwise, you need to figure out which nodes got
disconnected,
and restart them.
Which version are you using? To better handle this, I highly recommend
setting the discovery.zen.minimum_master_nodes setting (and use latest
version). For an 11 node cluster, set it to something like 3 or 4.
I have a the following problem. My network crashed in the night and one
node died. The Cluster has 11 nodes and 3 replicas. I can't start the
Elastic Search with all shards. Many shards are unassign. I can see
shards on the disks. Can I force, that Elasticsearch use these shards?
regards
Michael
--
Michael Rennecke *
Junior Systemarchitekt, Semantic Web Project, IT
What do you mean it did not work? Is the cluster in RED health after the
restart? If so, you can understand a bit why by setting logging
on gateway.local to DEBUG. Try and restart the cluster and
set index.recovery.initial_shards setting to 1, see if it helps (make sure
to set those settings on all nodes, though it is really needed on the
elected master of the cluster).
I use the 0.17.6 of elsatic search. The restart of the complete cluster
don't work I set discovery.zen.minimum_master_nodes to 3
Elasticsearch head see all nodes, with curl i can also see all nodes.
Am 19.09.2011 10:59, schrieb Shay Banon:
You need to figure out which nodes see each other, is it one node that
got
disconnected? Simplest way to bring things back up is to shutdown and
start
the cluster. Otherwise, you need to figure out which nodes got
disconnected,
and restart them.
Which version are you using? To better handle this, I highly recommend
setting the discovery.zen.minimum_master_nodes setting (and use latest
version). For an 11 node cluster, set it to something like 3 or 4.
I have a the following problem. My network crashed in the night and one
node died. The Cluster has 11 nodes and 3 replicas. I can't start the
Elastic Search with all shards. Many shards are unassign. I can see
shards on the disks. Can I force, that Elasticsearch use these shards?
regards
Michael
--
Michael Rennecke *
Junior Systemarchitekt, Semantic Web Project, IT
From my point of view, the system lacks consistency check on startup,
besides "initial_shards" parameter.
In case initial_shards parameter is ok, but the content is broken, the
data replicated during startup process to other nodes, and the whole
data state is unpredictable...
In case no RAID used (and it shouldn't, with already existing
replication logic on application level), I'd like to have all the data
checksummed on startup, and choose the shard not only by it's last
update time, but also on its' checksum value.
Any ideas regarding this behaviour?
Should I open a new request for that?
Thanks
On Sep 19, 4:11 pm, Michael Rennecke <michael.renne...@unister- gmbh.de> wrote:
What do you mean it did not work? Is the cluster in RED health after the
restart? If so, you can understand a bit why by setting logging
on gateway.local to DEBUG. Try and restart the cluster and
set index.recovery.initial_shardssetting to 1, see if it helps (make sure
to set those settings on all nodes, though it is really needed on the
elected master of the cluster).
I use the 0.17.6 of elsatic search. The restart of the complete cluster
don't work I set discovery.zen.minimum_master_nodes to 3
Elasticsearch head see all nodes, with curl i can also see all nodes.
Am 19.09.2011 10:59, schrieb Shay Banon:
You need to figure out which nodes see each other, is it one node that
got
disconnected? Simplest way to bring things back up is to shutdown and
start
the cluster. Otherwise, you need to figure out which nodes got
disconnected,
and restart them.
Which version are you using? To better handle this, I highly recommend
setting the discovery.zen.minimum_master_nodes setting (and use latest
version). For an 11 node cluster, set it to something like 3 or 4.
I have a the following problem. My network crashed in the night and one
node died. The Cluster has 11 nodes and 3 replicas. I can't start the
Elastic Search with all shards. Many shards are unassign. I can see
shards on the disks. Can I force, that Elasticsearch use these shards?
regards
Michael
--
Michael Rennecke *
Junior Systemarchitekt, Semantic Web Project, IT
Unister Holding GmbH
Barfu g sschen 11 | 04109 Leipzig
You can enable check on the index a shard uses on startup by
setting: index.shard.check_on_startup to true. The problem is that this can
be expensive....
Seems like the problem is the same I had before (the link mentioned a
thread I started before)
I've found another problem that has the same source, but much more
problematic consequences
From my point of view, the system lacks consistency check on startup,
besides "initial_shards" parameter.
In case initial_shards parameter is ok, but the content is broken, the
data replicated during startup process to other nodes, and the whole
data state is unpredictable...
In case no RAID used (and it shouldn't, with already existing
replication logic on application level), I'd like to have all the data
checksummed on startup, and choose the shard not only by it's last
update time, but also on its' checksum value.
Any ideas regarding this behaviour?
Should I open a new request for that?
Thanks
On Sep 19, 4:11 pm, Michael Rennecke <michael.renne...@unister- gmbh.de> wrote:
What do you mean it did not work? Is the cluster in RED health after
the
restart? If so, you can understand a bit why by setting logging
on gateway.local to DEBUG. Try and restart the cluster and
set index.recovery.initial_shardssetting to 1, see if it helps (make
sure
to set those settings on all nodes, though it is really needed on the
elected master of the cluster).
I use the 0.17.6 of elsatic search. The restart of the complete
cluster
don't work I set discovery.zen.minimum_master_nodes to 3
Elasticsearch head see all nodes, with curl i can also see all nodes.
Am 19.09.2011 10:59, schrieb Shay Banon:
You need to figure out which nodes see each other, is it one node
that
got
disconnected? Simplest way to bring things back up is to shutdown and
start
the cluster. Otherwise, you need to figure out which nodes got
disconnected,
and restart them.
Which version are you using? To better handle this, I highly
recommend
setting the discovery.zen.minimum_master_nodes setting (and use
latest
version). For an 11 node cluster, set it to something like 3 or 4.
I have a the following problem. My network crashed in the night and
one
node died. The Cluster has 11 nodes and 3 replicas. I can't start
the
Elastic Search with all shards. Many shards are unassign. I can see
shards on the disks. Can I force, that Elasticsearch use these
shards?
regards
Michael
--
Michael Rennecke *
Junior Systemarchitekt, Semantic Web Project, IT
Unister Holding GmbH
Barfu g sschen 11 | 04109 Leipzig
Very cool feature!
After some code browsing I didn't find index.shard.check_on_startup
parameter.
Seems to me its' name index.shard.check_index, defined in constructor
of
org.elasticsearch.index.shard.service.InternalIndexShard
Am I right?
I have one question remained... Already tried to deep dive into the
code, but get lost.
In case the parameter set to true, and the consistency check of
particular shared failed,
what is the logic/behaviour of the system from shards recovery/
relocating perspective?
Very cool feature!
After some code browsing I didn't find index.shard.check_on_startup
parameter.
Seems to me its' name index.shard.check_index, defined in constructor
of
org.elasticsearch.index.shard.service.InternalIndexShard
Am I right?
I renamed it in 0.18 (it was not a public setting, but it should be
documented in 0.18).
I have one question remained... Already tried to deep dive into the
code, but get lost.
In case the parameter set to true, and the consistency check of
particular shared failed,
what is the logic/behaviour of the system from shards recovery/
relocating perspective?
It will mark the shard as failed, and will try and allocate it to another
node.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.