Take a look at the example here
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-cluster.html#allocation-awareness

Basically a shard and it's replica will never be allocated to the same
instance, which is what you are seeing.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: [email protected]
web: www.campaignmonitor.com


On 26 July 2014 03:44, Yongtao You <[email protected]> wrote:

> Hi,
>
> I was experimenting with the
> "cluster.routing.allocation.awareness.attributes" setting. I started with
> one data node in the cluster, with allocation awareness attribute set to
> "value1". I expect that all the shards will be allocated to this node.
> Instead, only primary shards are allocated to this node. All the replicas
> are unassigned. Note that I have not set the
> "cluster.routing.allocation.awareness.force.zone.values" at all.
>
> I'm using ES 1.1.1. Can anyone confirm? Or did I do something stupid. :(
>
> Thanks.
> Yongtao
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/2b76037a-d5b8-4a1e-97dd-e17bfb559c89%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/2b76037a-d5b8-4a1e-97dd-e17bfb559c89%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEM624b22uEJ%3DkLLd%3D2XKVqrd1X53esAaHC-647u56O7muUcXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to